pkg-config: Add missing -DXML_STATIC (for Windows)

This affects the output of command "pkg-config --cflags --static expat".
This commit is contained in:
Sebastian Pipping 2024-02-06 00:10:09 +01:00
parent 9944b71234
commit 9c16d1c5b4
2 changed files with 2 additions and 0 deletions

View file

@ -10,3 +10,4 @@ URL: https://libexpat.github.io/
Libs: -L${libdir} -l$<TARGET_PROPERTY:expat,pkgconfig_$<LOWER_CASE:$<CONFIG>>_output_name>
Libs.private: $<TARGET_PROPERTY:expat,pkgconfig_libm>
Cflags: -I${includedir}
Cflags.private: -DXML_STATIC

View file

@ -10,3 +10,4 @@ URL: https://libexpat.github.io/
Libs: -L${libdir} -l@PACKAGE_NAME@
Libs.private: @LIBM@
Cflags: -I${includedir}
Cflags.private: -DXML_STATIC