aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/openssl-runpath.patch
blob: fa7c0b99625f5f64dd833da72c5dc57a74d45cdf (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This patch makes the build system pass -Wl,-rpath=$out/lib even for
libraries (it already does so for executables, thanks to 'DO_GNU_APP'
in 'Makefile.shared'.)

--- openssl-1.0.2a/Makefile.shared	2015-04-05 01:07:35.357602454 +0200
+++ openssl-1.0.2a/Makefile.shared	2015-04-05 01:09:50.474513303 +0200
@@ -106,7 +106,7 @@ LINK_SO=	\
     LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
     LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
     LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
-    $${SHAREDCMD} $${SHAREDFLAGS} \
+    $${SHAREDCMD} $${SHAREDFLAGS} -Wl,-rpath,$(LIBRPATH) \
 	-o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \
 	$$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \
   ) && $(SYMLINK_SO)
g-avail'>...Ludovic Courtès 2020-11-01system: Add store-directory-prefix to boot-parameters....Miguel Ángel Arruga Vivas 2020-10-18system: Provide locale information to the bootloader....Miguel Ángel Arruga Vivas 2020-09-07linux-boot: Handle nfs-root device strings....Stefan 2020-08-25Remove "guile-zlib" extension when unused....Mathieu Othacehe 2020-08-25linux-libre: Support module compression....Mathieu Othacehe 2020-07-27machine: ssh: Check for potential system downgrades....Ludovic Courtès 2020-07-25Use 'formatted-message' instead of '&message' where appropriate....Ludovic Courtès 2020-06-28Add more missing (ice-9 format) imports....Marius Bakke 2020-06-18machine: ssh: Fix guix deploy hang when using non-DCE UUIDs....Maxim Cournoyer 2020-03-23machine: ssh: Better report missing initrd modules....Ludovic Courtès 2020-03-23machine: ssh: Make sanity checks in a single round trip....Ludovic Courtès 2020-02-09Update e-mail address for Jakob L. Kreuze....Tobias Geerinckx-Rice 2019-12-08machine: Remove unnecessary record self-referencing bindings....Ludovic Courtès 2019-12-07machine: ssh: Deprecate missing 'host-key' field....Ludovic Courtès 2019-12-04machine: ssh: <machine-ssh-configuration> can include the host key....Ludovic Courtès 2019-10-22machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'....Ludovic Courtès 2019-10-22machine: Implement 'digital-ocean-environment-type'....Jakob L. Kreuze 2019-08-17machine: ssh: Fix sanity checks....宋文武 2019-08-16machine: Use 'become-command'....Jakob L. Kreuze 2019-08-15machine: Automatically authorize the coordinator's signing key....Jakob L. Kreuze 2019-08-15machine: Implement 'roll-back-machine'....Jakob L. Kreuze 2019-08-15machine: Allow non-root users to deploy....Jakob L. Kreuze 2019-08-14remote: Build derivations appropriate for the remote's...Jakob L. Kreuze 2019-08-07machine: Add 'build-locally?' field for managed hosts....Jakob L. Kreuze 2019-08-06machine: Implement safety checks....Jakob L. Kreuze 2019-08-06machine: Rename 'system' field....Jakob L. Kreuze 2019-07-26guix system: Add 'reconfigure' module....Jakob L. Kreuze 2019-07-18machine: Fix typo....Tobias Geerinckx-Rice 2019-07-06gnu: Add machine type for deployment specifications....Jakob L. Kreuze