summaryrefslogtreecommitdiff
path: root/xmlsecurity/Executable_pdfverify.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-05 11:54:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-05 11:54:05 +0100
commitf764d67da42caa71fd5e02146b1ca32680ae2f6e (patch)
treec1cb0b69cc11d61fbf5cbdbb3ed1899260598cb8 /xmlsecurity/Executable_pdfverify.mk
parent1f873596eded3d858c9ed97b988ccc5a0c1ef807 (diff)
Fix Executable_pdfverify dependencies on Linux
Change-Id: Idf5561baaa714834e8e763e379a79d084e21dc80
Diffstat (limited to 'xmlsecurity/Executable_pdfverify.mk')
-rw-r--r--xmlsecurity/Executable_pdfverify.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/xmlsecurity/Executable_pdfverify.mk b/xmlsecurity/Executable_pdfverify.mk
index 9a67a785983a..9364e390ea76 100644
--- a/xmlsecurity/Executable_pdfverify.mk
+++ b/xmlsecurity/Executable_pdfverify.mk
@@ -34,4 +34,16 @@ $(eval $(call gb_Executable_add_exception_objects,pdfverify,\
xmlsecurity/workben/pdfverify \
))
+# Library_xmlsecurity links against Library_xsec_gpg (on certain OS), which
+# links against gpgmepp dynamic library from external project gpgmepp, which
+# (for non-SYSTEM_GPGMEPP) is delivered to instdir/program in
+# ExternalPackage_gpgme, and at least the Linux linker wants to see all
+# (recursively) linked libraries when linking an executable:
+ifneq ($(filter-out WNT MACOSX ANDROID IOS,$(OS)),)
+ifneq ($(SYSTEM_GPGMEPP),TRUE)
+$(call gb_Executable_get_target,pdfverify): \
+ $(call gb_ExternalPackage_get_target,gpgme)
+endif
+endif
+
# vim:set noet sw=4 ts=4: