diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-09-29 20:46:11 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-26 21:46:06 +0300 |
commit | a7d1b2825c49dc83f1910eeb8ba0f1dfbd886d91 (patch) | |
tree | 80aebf356faaec0fa3bba7d20956d68a1c4d841d /src/liblzma | |
parent | CMake: Create liblzma.def when building liblzma.dll with MinGW-w64. (diff) | |
download | xz-a7d1b2825c49dc83f1910eeb8ba0f1dfbd886d91.tar.xz |
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/
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/liblzma.pc.in | 1 |
1 files changed, 1 insertions, 0 deletions
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@ |