aboutsummaryrefslogtreecommitdiff
path: root/ports/xmlsec/pkgconfig_fixes.patch
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2021-05-25 16:34:00 -0400
committerGitHub <noreply@github.com>2021-05-25 13:34:00 -0700
commita47809ed9e83af1cf31cc59da76def9fe826e83e (patch)
treef229fe5c7943e9471f0217d351ce67a602d75bc2 /ports/xmlsec/pkgconfig_fixes.patch
parent7c55ecac266fc3e554bc315053dc45c11ec811af (diff)
downloadvcpkg-a47809ed9e83af1cf31cc59da76def9fe826e83e.tar.gz
vcpkg-a47809ed9e83af1cf31cc59da76def9fe826e83e.zip
[xmlsec] add pkgconfig files (#16908)
* [xmlsec] add pkgconfig files - also fixes the library filename, which is actually libxmlsec1. This follows the upstream naming scheme. * [xmlsec] convert CONTROL to manifest * [xmlsec] update versions * [xmlsec] update library name * [xmlsec] update versions
Diffstat (limited to 'ports/xmlsec/pkgconfig_fixes.patch')
-rw-r--r--ports/xmlsec/pkgconfig_fixes.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/ports/xmlsec/pkgconfig_fixes.patch b/ports/xmlsec/pkgconfig_fixes.patch
new file mode 100644
index 000000000..c923ea597
--- /dev/null
+++ b/ports/xmlsec/pkgconfig_fixes.patch
@@ -0,0 +1,21 @@
+diff --git a/xmlsec-openssl.pc.in b/xmlsec-openssl.pc.in
+index af3ae29..40635cf 100644
+--- a/xmlsec-openssl.pc.in
++++ b/xmlsec-openssl.pc.in
+@@ -8,5 +8,4 @@ Version: @VERSION@
+ Description: XML Security Library implements XML Signature and XML Encryption standards
+ Requires: libxml-2.0 >= @LIBXML_MIN_VERSION@ @LIBXSLT_PC_FILE_COND@
+ Cflags: @XMLSEC_OPENSSL_CFLAGS@
+-Cflags.private: -DXMLSEC_STATIC
+ Libs: @XMLSEC_OPENSSL_LIBS@
+diff --git a/xmlsec.pc.in b/xmlsec.pc.in
+index 2d5a3ad..0f72d68 100644
+--- a/xmlsec.pc.in
++++ b/xmlsec.pc.in
+@@ -7,5 +7,5 @@ Name: xmlsec1
+ Version: @VERSION@
+ Description: XML Security Library implements XML Signature and XML Encryption standards
+ Requires: libxml-2.0 >= @LIBXML_MIN_VERSION@ @LIBXSLT_PC_FILE_COND@
+-Cflags: -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 @XMLSEC_CORE_CFLAGS@
++Cflags: @XMLSEC_CORE_CFLAGS@
+ Libs: -L${libdir} @XMLSEC_CORE_LIBS@