From a7d1b2825c49dc83f1910eeb8ba0f1dfbd886d91 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 29 Sep 2023 20:46:11 +0300 Subject: liblzma: Add Cflags.private to liblzma.pc.in for MSYS2. It properly adds -DLZMA_API_STATIC when compiling code that will be linked against static liblzma. Having it there on systems other than Windows does no harm. See: https://www.msys2.org/docs/pkgconfig/ --- src/liblzma/liblzma.pc.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/liblzma/liblzma.pc.in b/src/liblzma/liblzma.pc.in index 9fa48911..d077cb77 100644 --- a/src/liblzma/liblzma.pc.in +++ b/src/liblzma/liblzma.pc.in @@ -15,5 +15,6 @@ Description: General purpose data compression library URL: @PACKAGE_URL@ Version: @PACKAGE_VERSION@ Cflags: -I${includedir} +Cflags.private: -DLZMA_API_STATIC Libs: -L${libdir} -llzma Libs.private: @PTHREAD_CFLAGS@ @LIBS@ -- cgit v1.2.3