diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-05-31 12:14:00 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-05-31 12:15:16 +0200 |
commit | 4101e437564727af3dc5d61915b7bf6775f72d82 (patch) | |
tree | 8e5a8fcf6034c499e8b372bbc5e17d6d4d10b4e3 /xmlsecurity | |
parent | 42ecf7b5f62ed4faabdce80722d1d3f43ca4fb9a (diff) |
xmlsecurity: try to appease --as-needed default ld
Change-Id: I11a7894cb71732e613ae430c128ce06becb4defb
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/Library_xsec_xmlsec.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xmlsecurity/Library_xsec_xmlsec.mk b/xmlsecurity/Library_xsec_xmlsec.mk index db161c13995f..01619188424b 100644 --- a/xmlsecurity/Library_xsec_xmlsec.mk +++ b/xmlsecurity/Library_xsec_xmlsec.mk @@ -51,7 +51,6 @@ $(eval $(call gb_Library_use_packages,xsec_xmlsec,\ $(eval $(call gb_Library_use_externals,xsec_xmlsec,\ boost_headers \ libxml2 \ - nss3 \ )) $(eval $(call gb_Library_add_exception_objects,xsec_xmlsec,\ @@ -76,7 +75,6 @@ $(eval $(call gb_Library_add_defs,xsec_xmlsec,\ -DXMLSEC_CRYPTO_MSCRYPTO \ )) - $(eval $(call gb_Library_add_libs,xsec_xmlsec,\ $(call gb_UnpackedTarball_get_dir,xmlsec)/win32/binaries/libxmlsec-mscrypto.lib \ $(call gb_UnpackedTarball_get_dir,xmlsec)/win32/binaries/libxmlsec.lib \ @@ -133,6 +131,11 @@ $(eval $(call gb_Library_add_exception_objects,xsec_xmlsec,\ endif +# nss3 after static libs to appease --as-needed linkers +$(eval $(call gb_Library_use_externals,xsec_xmlsec,\ + nss3 \ +)) + ifeq ($(OS),SOLARIS) $(eval $(call gb_Library_add_libs,xsec_xmlsec,\ -ldl \ |