From d7929db4b257ff1792ddd719795f044381829248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Wed, 17 Jan 2024 09:54:17 +0100 Subject: patches/curl-7.88.0_pre.local.patch: don't pass paths in {cflags,ldflags} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/curl-7.88.0_pre.local.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/curl-7.88.0_pre.local.patch (limited to 'patches') 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 00000000..70ccf044 --- /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 -- cgit v1.2.3