summaryrefslogtreecommitdiff
path: root/ftp/curl/files/patch-configure
blob: 154e8d5710675294bfbb1b199356e1ffe7dca242 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Do not needlessly add /usr/include and /usr/lib to the compiler and
linker flags if the base system OpenSSL is used.

--- a/configure
+++ b/configure
@@ -23435,7 +23435,7 @@
         PKGTEST="no"
     PREFIX_OPENSSL=$OPT_SSL
     LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
-    if  "$PREFIX_OPENSSL" != "/usr"  ; then
+    if [ "$PREFIX_OPENSSL" != "/usr" ] ; then
       LDFLAGS="$LDFLAGS -L$LIB_OPENSSL"
       CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include"
     fi