summaryrefslogtreecommitdiff
path: root/curl/0302-curl-7.47.1-pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'curl/0302-curl-7.47.1-pkgconfig.patch')
-rw-r--r--curl/0302-curl-7.47.1-pkgconfig.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/curl/0302-curl-7.47.1-pkgconfig.patch b/curl/0302-curl-7.47.1-pkgconfig.patch
new file mode 100644
index 0000000..3dce68b
--- /dev/null
+++ b/curl/0302-curl-7.47.1-pkgconfig.patch
@@ -0,0 +1,17 @@
+This patch cleans up libcurl.pc to remove redundant compiler/linker
+flags that refer to standard directories, i.e.
+
+-L/usr/lib(64)?
+-I/usr/include
+
+--- libcurl.pc.in
++++ libcurl.pc.in
+@@ -35,6 +35,6 @@ Name: libcurl
+ URL: https://curl.haxx.se/
+ Description: Library to transfer files with ftp, http, etc.
+ Version: @CURLVERSION@
+-Libs: -L${libdir} -lcurl
++Libs: -lcurl
+ Libs.private: @LIBCURL_LIBS@
+-Cflags: -I${includedir} @CPPFLAG_CURL_STATICLIB@
++Cflags: @CPPFLAG_CURL_STATICLIB@
bgstack15