summaryrefslogtreecommitdiff
path: root/net/spoofer/files/patch-configure
blob: 1b40a4a107959faea45fe97105ea1bdebd487c83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.orig	2019-07-03 23:43:25 UTC
+++ configure
@@ -11092,8 +11092,10 @@ fi
             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
             if test -f "$ssldir/include/openssl/ssl.h"; then
-                OPENSSL_INCLUDES="-I$ssldir/include"
-                OPENSSL_LDFLAGS="-L$ssldir/lib"
+		if test $ssldir != /usr; then
+	                OPENSSL_INCLUDES="-I$ssldir/include"
+	                OPENSSL_LDFLAGS="-L$ssldir/lib"
+		fi
                 OPENSSL_LIBS="-lssl -lcrypto"
                 found=true
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5