Commit 0ac0081
committed
Bake RPATH into OpenSSL build so binaries self-locate libssl/libcrypto
Adds -Wl,-rpath flags for both lib and lib64 to OPENSSL_LDFLAGS default, and
canonicalizes OPENSSL_INSTALL_DIR with realpath -m to avoid embedding a '..'
segment in the baked rpath. The OpenSSL CLI binary (openssl-install/bin/openssl)
now finds its sibling libssl/libcrypto without depending on LD_LIBRARY_PATH or
on env-setup having been sourced. Callers passing OPENSSL_LDFLAGS still override
the default.1 parent f3632b7 commit 0ac0081
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments