summaryrefslogtreecommitdiffstats
path: root/external/curl/curl-nss.patch.1
blob: 2e8766b3d45fc440146065376ccde2132b211d26 (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.orig/configure	2023-02-20 16:11:55.000000000 +0900
+++ curl/configure	2023-02-23 15:40:58.617432471 +0900
@@ -28675,7 +28675,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