summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RepositoryExternal.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index ee65d9eabf81..f30526c07525 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -437,5 +437,14 @@ endef
endif # SYSTEM_OPENSSL
+define gb_LinkTarget__use_gtk
+$(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ $(GTK_CFLAGS) \
+)
+
+$(call gb_LinkTarget_add_libs,$(1),$(GTK_LIBS))
+
+endef
# vim: set noet sw=4 ts=4: