diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 650c1b74d27a..0e1e6a648186 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -3421,6 +3421,7 @@ define gb_LinkTarget__use_gpgmepp $(call gb_LinkTarget_set_include,$(1),\ -I$(call gb_UnpackedTarball_get_dir,gpgme)/lang/cpp/src \ -I$(call gb_UnpackedTarball_get_dir,gpgme)/src \ + $$(GPG_ERROR_CFLAGS) \ $$(INCLUDE) \ ) $(call gb_LinkTarget_add_libs,$(1),\