From 9c16d1c5b4959bed843bc0f1d065ad25a5e1b778 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 6 Feb 2024 00:10:09 +0100 Subject: pkg-config: Add missing -DXML_STATIC (for Windows) This affects the output of command "pkg-config --cflags --static expat". --- expat/expat.pc.cmake | 1 + expat/expat.pc.in | 1 + 2 files changed, 2 insertions(+) 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$>_output_name> Libs.private: $ 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 -- cgit v1.2.3