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