summaryrefslogtreecommitdiff
path: root/vcl/Library_vclplug_gtk.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/Library_vclplug_gtk.mk')
-rw-r--r--vcl/Library_vclplug_gtk.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/Library_vclplug_gtk.mk b/vcl/Library_vclplug_gtk.mk
index 1b8e2d881640..d0df791bad7d 100644
--- a/vcl/Library_vclplug_gtk.mk
+++ b/vcl/Library_vclplug_gtk.mk
@@ -52,6 +52,17 @@ $(eval $(call gb_Library_set_defs,vclplug_gtk,\
-DVERSION=\"$(UPD)$(LAST_MINOR)\" \
))
+ifneq ($(ENABLE_DBUS),)
+$(eval $(call gb_Library_set_defs,vclplug_gtk,\
+ $$(DEFS) \
+ -DENABLE_DBUS \
+))
+$(eval $(call gb_Library_set_ldflags,vclplug_gtk,\
+ $$(LDFLAGS) \
+ $(shell pkg-config --libs dbus-glib-1)\
+))
+endif
+
$(eval $(call gb_Library_set_ldflags,vclplug_gtk,\
$$(LDFLAGS) \
$$(GTK_LIBS)\