diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2018-08-27 13:21:37 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2018-08-28 13:04:34 +0200 |
commit | e82785887a13bdb8d8cd4d4c74df0c6c71ae52d4 (patch) | |
tree | 09635dffc4417ef683741e384723673b08945061 /sd/CppunitTest_sd_uimpress.mk | |
parent | 98cb91686901dc0133c5c23dc5658d9623dbd436 (diff) |
fix glib/bluetooth linking errors
Since nobody else seems to have this problems, this may be possibly
only specific to KDE builds or to using gold linker.
Change-Id: I29359e298178b934a6232b78da684e55db590863
Reviewed-on: https://gerrit.libreoffice.org/59655
Tested-by: Jenkins
Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sd/CppunitTest_sd_uimpress.mk')
-rw-r--r-- | sd/CppunitTest_sd_uimpress.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sd/CppunitTest_sd_uimpress.mk b/sd/CppunitTest_sd_uimpress.mk index 627876f21822..e483fb59a59c 100644 --- a/sd/CppunitTest_sd_uimpress.mk +++ b/sd/CppunitTest_sd_uimpress.mk @@ -79,6 +79,15 @@ $(eval $(call gb_CppunitTest_use_externals,sd_uimpress,\ libxml2 \ )) +ifneq ($(DBUS_HAVE_GLIB),) +$(eval $(call gb_CppunitTest_add_defs,sd_uimpress,\ + $(DBUS_GLIB_CFLAGS) \ +)) +$(eval $(call gb_CppunitTest_add_libs,sd_uimpress,\ + $(DBUS_GLIB_LIBS) \ +)) +endif + $(eval $(call gb_CppunitTest_add_exception_objects,sd_uimpress,\ sd/qa/unit/uimpress \ )) |