mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
e460267737
Issue #15279 reports: ```` Checking for OpenSSL library... using OpenSSL from /nix/store/c6kijfc5py2805lmqczvmcws5cm9jg1l-openssl-1.0.2g-dev/lib and /nix/store/c6kijfc5py2805lmqczvmcws5cm9jg1l-openssl-1.0.2g-dev/include checking whether linking with OpenSSL works... no configure: error: Could not run test program using OpenSSL from /nix/store/c6kijfc5py2805lmqczvmcws5cm9jg1l-openssl-1.0.2g-dev/lib and /nix/store/c6kijfc5py2805lmqczvmcws5cm9jg1l-openssl-1.0.2g-dev/include. Please check the argument to --with-openssl and your shared library configuration (e.g., LD_LIBRARY_PATH). builder for ‘/nix/store/54nni99j4ycwws6zfjwcvv8vxsdk895i-bind-9.10.4.drv’ failed with exit code 1 ````
27 lines
766 B
Diff
27 lines
766 B
Diff
diff --git a/configure b/configure
|
|
index 6779cc3..4275520 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -15707,21 +15707,6 @@ $as_echo "not found" >&6; }
|
|
*-hp-hpux*)
|
|
DST_OPENSSL_LIBS="-L$use_openssl/lib -Wl,+b: -lcrypto"
|
|
;;
|
|
- *-apple-darwin*)
|
|
- #
|
|
- # Apple's ld seaches for serially for dynamic
|
|
- # then static libraries. This means you can't
|
|
- # use -L to override dynamic system libraries
|
|
- # with static ones when linking. Instead
|
|
- # we specify a absolute path.
|
|
- #
|
|
- if test -f "$use_openssl/lib/libcrypto.dylib"
|
|
- then
|
|
- DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
|
|
- else
|
|
- DST_OPENSSL_LIBS="$use_openssl/lib/libcrypto.a"
|
|
- fi
|
|
- ;;
|
|
*)
|
|
DST_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
|
|
;;
|