From d7929db4b257ff1792ddd719795f044381829248 Mon Sep 17 00:00:00 2001 From: Ørjan Malde Date: Jan 17 2024 09:02:25 +0000 Subject: patches/curl-7.88.0_pre.local.patch: don't pass paths in {cflags,ldflags} Signed-off-by: Ørjan Malde --- diff --git a/patches/curl-7.88.0_pre.local.patch b/patches/curl-7.88.0_pre.local.patch new file mode 100644 index 0000000..70ccf04 --- /dev/null +++ b/patches/curl-7.88.0_pre.local.patch @@ -0,0 +1,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