mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-29 03:04:37 +00:00
NOTES.UNIX: add additional note about --enable-new-dtags
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5374)
This commit is contained in:
parent
0b80103bfa
commit
c3d76bb254
12
NOTES.UNIX
12
NOTES.UNIX
@ -28,3 +28,15 @@
|
||||
|
||||
$ ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl \
|
||||
-Wl,-rpath,'$(LIBRPATH)'
|
||||
|
||||
On modern systems using GNU ld.so, a better choice may be to use the
|
||||
new dtags, like this:
|
||||
|
||||
$ ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl \
|
||||
-Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
|
||||
|
||||
This sets DT_RUNPATH instead of DT_RPATH. DT_RUNPATH is considered after
|
||||
the environment variable LD_LIBRARY_PATH, while DT_RPATH is considered
|
||||
before that environment variable (which means that the values in that
|
||||
environment variable won't matter if the library is found in the
|
||||
paths given by DT_RPATH).
|
||||
|
Loading…
x
Reference in New Issue
Block a user