diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-02-15 16:00:16 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-02-16 12:51:56 +0000 |
commit | 55519a18be63be5a6ce955784f0d326fc6cabf9d (patch) | |
tree | c574a4ef7702bb7e5172f673fff675fc5b3712d9 /RepositoryExternal.mk | |
parent | 4a53df9cd7e58230bbb5f5c46161861010ca220f (diff) |
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>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 14 |
1 files changed, 14 insertions, 0 deletions
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) |