gpg4libre: gbuild funcs for building with internal gpgme(pp)

Change-Id: I12b57b8925c263ec904549ea38a2c581f20b9d14
Reviewed-on: https://gerrit.libreoffice.org/34301
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
Katarina Behrens 2017-02-15 16:00:16 +01:00 committed by Thorsten Behrens
parent 4a53df9cd7
commit 55519a18be

View file

@ -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)