summaryrefslogtreecommitdiff
path: root/external/curl/curl-nss.patch.1
blob: 2128849369e7940e039d2425b16ff4367ad3af91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -ur curl.org/configure curl/configure
--- curl.org/configure	2016-03-13 15:14:07.177000076 +0100
+++ curl/configure	2016-03-13 15:16:44.132000076 +0100
@@ -28230,7 +28230,12 @@
       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation flags for NSS." >&5
 printf "%s\n" "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
       addld="-L$OPT_NSS/lib"
-      addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
+      addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lnssutil3"
+      case $host_os in
+        *android*)
+          addlib="${addlib} -llog"
+          ;;
+      esac
       addcflags="-I$OPT_NSS/include"
       version="unknown"
       nssprefix=$OPT_NSS