summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/CppunitTest_sd_filters_test.mk4
-rw-r--r--sd/CppunitTest_sd_uimpress.mk6
-rw-r--r--sd/Library_sd.mk1
3 files changed, 9 insertions, 2 deletions
diff --git a/sd/CppunitTest_sd_filters_test.mk b/sd/CppunitTest_sd_filters_test.mk
index 6afe52d4d79d..ad13e96dbaaf 100644
--- a/sd/CppunitTest_sd_filters_test.mk
+++ b/sd/CppunitTest_sd_filters_test.mk
@@ -67,6 +67,10 @@ $(eval $(call gb_CppunitTest_use_libraries,sd_filters_test, \
$(gb_STDLIBS) \
))
+$(eval $(call gb_CppunitTest_add_libs,sd_filters_test,\
+ $(shell pkg-config --libs glib-2.0 json-glib-1.0) \
+))
+
$(eval $(call gb_CppunitTest_set_include,sd_filters_test,\
-I$(SRCDIR)/sd/source/ui/inc \
-I$(SRCDIR)/sd/inc \
diff --git a/sd/CppunitTest_sd_uimpress.mk b/sd/CppunitTest_sd_uimpress.mk
index 44fb871105ca..4e453153d85d 100644
--- a/sd/CppunitTest_sd_uimpress.mk
+++ b/sd/CppunitTest_sd_uimpress.mk
@@ -36,11 +36,15 @@ $(eval $(call gb_CppunitTest_add_defs,sd_uimpress,\
-DSD_DLLIMPLEMENTATION \
))
-$(eval $(call gb_CppunitTest_use_api,sd_uimpress,\
+$(eval $(call gb_CppunitTest_use_sdk_api,sd_uimpress,\
offapi \
udkapi \
))
+$(eval $(call gb_CppunitTest_add_libs,sd_uimpress,\
+ $(shell pkg-config --libs glib-2.0 json-glib-1.0) \
+))
+
$(eval $(call gb_CppunitTest_use_library_objects,sd_uimpress,sd))
$(eval $(call gb_CppunitTest_use_libraries,sd_uimpress,\
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index 0fadcbfd2132..9492c9a1530c 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -114,7 +114,6 @@ $(eval $(call gb_Library_add_libs,sd,\
$(shell pkg-config --libs glib-2.0 json-glib-1.0) \
))
-
$(eval $(call gb_Library_set_componentfile,sd,sd/util/sd))
$(eval $(call gb_Library_add_exception_objects,sd,\