diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2011-12-06 17:27:05 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-12-06 17:28:11 +0100 |
commit | 88a4a8d997921309a7886ed0d1dc383ee3c2f767 (patch) | |
tree | 5fc956b3896956543d5c415575d94b9e7c6372b0 /RepositoryExternal.mk | |
parent | d57887eaad534ca51fc4975918fab66b2f93633d (diff) |
GdkPrinter seems optional on Gtk3, too
Added necessary configure magic & conditional compiles for that.
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 6da9253ae1fe..92d9aca85741 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -660,6 +660,29 @@ endif endef +define gb_LinkTarget__use_gtk3 +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $(GTK3_CFLAGS) \ +) + +$(call gb_LinkTarget_add_libs,$(1),$(GTK3_LIBS)) + +ifeq ($(ENABLE_GTK3_PRINT),TRUE) + +$(call gb_LinkTarget_add_defs,$(1),-DENABLE_GTK3_PRINT) + +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $(GTK3_PRINT_CFLAGS) \ +) + +$(call gb_LinkTarget_add_libs,$(1),$(GTK3_PRINT_LIBS)) + +endif + +endef + define gb_LinkTarget__use_gthread $(call gb_LinkTarget_add_libs,$(1),$(GTHREAD_LIBS)) |