summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-01-17 09:54:17 +0100
committerØrjan Malde <red@foxi.me>2024-01-17 10:02:25 +0100
commitd7929db4b257ff1792ddd719795f044381829248 (patch)
tree37b24c2bab7da61cda18f5e05f0731b652c97aa4
parentf8d245b1d5924add4203ad39f268ad408fecd90b (diff)
downloadmidipix_build-d7929db4b257ff1792ddd719795f044381829248.tar.bz2
midipix_build-d7929db4b257ff1792ddd719795f044381829248.tar.xz
patches/curl-7.88.0_pre.local.patch: don't pass paths in {cflags,ldflags}
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--patches/curl-7.88.0_pre.local.patch19
1 files changed, 19 insertions, 0 deletions
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