--- a/libexslt.pc.in
+++ b/libexslt.pc.in
@@ -9,5 +9,6 @@
 Description: EXSLT Extension library
 Requires: libxml-2.0, libxslt
 Cflags: @EXSLT_INCLUDEDIR@ @LIBEXSLT_CFLAGS@
+Cflags.private: -DLIBEXSLT_STATIC
 Libs: @EXSLT_LIBDIR@ -lexslt
 Libs.private: @EXSLT_PRIVATE_LIBS@
--- a/libxslt.pc.in
+++ b/libxslt.pc.in
@@ -9,5 +9,6 @@
 Description: XSLT library version 2.
 Requires: libxml-2.0
 Cflags: @XSLT_INCLUDEDIR@ @LIBXSLT_CFLAGS@
+Cflags.private: -DLIBXSLT_STATIC
 Libs: @XSLT_LIBDIR@ -lxslt
 Libs.private: @XSLT_PRIVATE_LIBS@
