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:
Lasse Collin 2023-09-29 20:46:11 +03:00
parent 80e0750e39
commit a7d1b2825c
1 changed files with 1 additions and 0 deletions

View File

@ -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@