summaryrefslogtreecommitdiffhomepage
path: root/patches/curl-7.88.0_pre.local.patch
blob: 70ccf0442fdeb33e46da33080b1226edc999f291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -ru curl-7.88.0.orig/curl-config.in curl-7.88.0/curl-config.in
--- curl-7.88.0.orig/curl-config.in	2023-02-13 08:37:04.000000000 +0100
+++ curl-7.88.0/curl-config.in	2024-01-17 09:49:08.733319314 +0100
@@ -152,13 +152,13 @@
         if test "X@includedir@" = "X/usr/include"; then
           echo "$CPPFLAG_CURL_STATICLIB"
         else
-          echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
+          echo "$CPPFLAG_CURL_STATICLIB"
         fi
         ;;
 
     --libs)
         if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
-           CURLLIBDIR="-L@libdir@ "
+           CURLLIBDIR=""
         else
            CURLLIBDIR=""
         fi