Skip to content

Commit

Permalink
Merge pull request #815 from libexpat/fix-pkg-config-file-for-static-…
Browse files Browse the repository at this point in the history
…build-on-windows

pkg-config: Add missing `-DXML_STATIC` for Windows (alternative to #805)
  • Loading branch information
hartwork committed Feb 6, 2024
2 parents 9944b71 + 9c16d1c commit 8198e4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions expat/expat.pc.cmake
Expand Up @@ -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
1 change: 1 addition & 0 deletions expat/expat.pc.in
Expand Up @@ -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

0 comments on commit 8198e4b

Please sign in to comment.