From 55519a18be63be5a6ce955784f0d326fc6cabf9d Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Wed, 15 Feb 2017 16:00:16 +0100 Subject: [PATCH] gpg4libre: gbuild funcs for building with internal gpgme(pp) Change-Id: I12b57b8925c263ec904549ea38a2c581f20b9d14 Reviewed-on: https://gerrit.libreoffice.org/34301 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- RepositoryExternal.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 3871080d2530..d1b241648dc4 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -3405,6 +3405,20 @@ $(call gb_LinkTarget_add_libs,$(1),\ endef +else # NON-SYSTEM_GPGME + +define gb_LinkTarget__use_gpgme +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,gpgme)/lang/cpp/src \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_add_libs,$(1),\ + $(call gb_UnpackedTarball_get_dir,gpgme)/lang/cpp/src/.libs/libgpgmepp$(gb_StaticLibrary_PLAINEXT) \ +) +$(call gb_LinkTarget_use_external_project,$(1),gpgme) + +endef + endif ifeq ($(ENABLE_GLTF),TRUE)