diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2024-02-06 11:09:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 11:09:42 +0100 |
commit | 8198e4bfede103c11ededa0167b634d0e88c7f77 (patch) | |
tree | 7c8b0a9a38e72740384a5961f42cfcc71e710f75 | |
parent | 9944b71234d96d529cff01a80b52776d974838fd (diff) | |
parent | 9c16d1c5b4959bed843bc0f1d065ad25a5e1b778 (diff) | |
download | expat-8198e4bfede103c11ededa0167b634d0e88c7f77.tar.gz |
Merge pull request #815 from libexpat/fix-pkg-config-file-for-static-build-on-windows
pkg-config: Add missing `-DXML_STATIC` for Windows (alternative to #805)
-rw-r--r-- | expat/expat.pc.cmake | 1 | ||||
-rw-r--r-- | expat/expat.pc.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/expat/expat.pc.cmake b/expat/expat.pc.cmake index da7a0549..56da4137 100644 --- a/expat/expat.pc.cmake +++ b/expat/expat.pc.cmake @@ -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 diff --git a/expat/expat.pc.in b/expat/expat.pc.in index db080653..a53ab118 100644 --- a/expat/expat.pc.in +++ b/expat/expat.pc.in @@ -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 |