summary refs log tree commit diff
path: root/pkgs/servers/dns/bind/darwin-openssl-linking-fix.patch
blob: 8276c28c3f4b3e6f96cf4dfb1e6b15ff7475a73d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/configure b/configure
index b9ad66b..a2a7382 100755
--- a/configure
+++ b/configure
@@ -16033,21 +16033,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"
 				;;