From 567dac581e6a57ce5f13b19f18b5b66dc99fc08f Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 13 Aug 2017 14:27:12 +1000 Subject: [PATCH] libarchive.pc.in: add Cflags.private for static linking `pkgconf` supports a `Cflags.private` that simplifies static linking for windows (mingw cross) builds. Users of `pkg-config` will be unaffected by this as existing build scripts will already set the `-DLIBARCHIVE_STATIC` as required. --- build/pkgconfig/libarchive.pc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/build/pkgconfig/libarchive.pc.in b/build/pkgconfig/libarchive.pc.in index 95d715951..4b631e635 100644 --- a/build/pkgconfig/libarchive.pc.in +++ b/build/pkgconfig/libarchive.pc.in @@ -7,5 +7,6 @@ Name: libarchive Description: library that can create and read several streaming archive formats Version: @VERSION@ Cflags: -I${includedir} +Cflags.private: -DLIBARCHIVE_STATIC Libs: -L${libdir} -larchive Libs.private: @LIBS@ -- 2.47.2