aboutsummaryrefslogtreecommitdiff
path: root/curl/0302-curl-7.47.1-pkgconfig.patch
blob: 3dce68b7d9bb12582e30698d87b94d12a9854c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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