mirror of https://git.tukaani.org/xz.git
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/
This commit is contained in:
parent
661549ecb7
commit
4083c8e950
|
@ -15,5 +15,6 @@ Description: General purpose data compression library
|
||||||
URL: @PACKAGE_URL@
|
URL: @PACKAGE_URL@
|
||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
Cflags.private: -DLZMA_API_STATIC
|
||||||
Libs: -L${libdir} -llzma
|
Libs: -L${libdir} -llzma
|
||||||
Libs.private: @PTHREAD_CFLAGS@ @LIBS@
|
Libs.private: @PTHREAD_CFLAGS@ @LIBS@
|
||||||
|
|
Loading…
Reference in New Issue