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 @@ -36,7 +36,7 @@ Description: Library to transfer files w Version: @CURLVERSION@ Requires: @LIBCURL_PC_REQUIRES@ Requires.private: @LIBCURL_PC_REQUIRES_PRIVATE@ -Libs: -L${libdir} -lcurl @LIBCURL_PC_LIBS@ +Libs: -lcurl @LIBCURL_PC_LIBS@ Libs.private: @LIBCURL_PC_LDFLAGS_PRIVATE@ @LIBCURL_PC_LIBS_PRIVATE@ -Cflags: -I${includedir} @LIBCURL_PC_CFLAGS@ +Cflags: @LIBCURL_PC_CFLAGS@ Cflags.private: @LIBCURL_PC_CFLAGS_PRIVATE@