summaryrefslogtreecommitdiff
path: root/curl/0302-curl-7.47.1-pkgconfig.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-18 12:37:11 +0000
committerB Stack <bgstack15@gmail.com>2019-09-18 12:37:11 +0000
commitbab4e46df0ab08070ac03aa057bd63ee7d744a90 (patch)
tree8abbed509506c4ca87de844ff57ffcd3988bdf55 /curl/0302-curl-7.47.1-pkgconfig.patch
parentMerge branch 'plymouth-bump' into 'master' (diff)
parentadd curl (diff)
downloadstackrpms-bab4e46df0ab08070ac03aa057bd63ee7d744a90.tar.gz
stackrpms-bab4e46df0ab08070ac03aa057bd63ee7d744a90.tar.bz2
stackrpms-bab4e46df0ab08070ac03aa057bd63ee7d744a90.zip
Merge branch 'libssh2-bump' into 'master'
Add freefilesync build/run dependencies See merge request bgstack15/stackrpms!88
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