summaryrefslogtreecommitdiff
path: root/external/curl/curl-7.26.0_nspr.patch
blob: 4eee75e2c62cb51cafd62f31d0a72688c1dd6ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -ur curl-7.26.0/configure misc/build/curl-7.26.0/configure
--- curl-7.26.0/configure	2012-07-11 10:06:15.249214153 +0200
+++ misc/build/curl-7.26.0/configure	2012-07-11 10:09:48.967225739 +0200
@@ -22779,6 +22779,13 @@
           addcflags=""
           version="unknown"
         fi
+
+        # NSPR includes and libs are needed with nss
+        check=`nspr-config --version 2>/dev/null`
+        if test -n "$check"; then
+          addlib="$addlib `nspr-config --libs`"
+          addcflags="$addcflags `nspr-config --cflags`"
+        fi
       fi
     else
         # Without pkg-config, we'll kludge in some defaults