summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 23:22:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-10 23:22:18 +0100
commite8342dab9d8cfdda174e8baecfef4853c6927604 (patch)
treea5f49b4549e288457f33f53c531f880de43d6728 /sc
parenta4ef0ea1cff55a9c14fc14ef3a19008ebe343044 (diff)
make sure filters unit test depends on non-linked scfilt lib
Diffstat (limited to 'sc')
-rw-r--r--sc/CppunitTest_sc_test_filters.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/CppunitTest_sc_test_filters.mk b/sc/CppunitTest_sc_test_filters.mk
index 578d2b74ed6f..8dcd854a86ae 100644
--- a/sc/CppunitTest_sc_test_filters.mk
+++ b/sc/CppunitTest_sc_test_filters.mk
@@ -33,8 +33,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sc_filters_test, \
sc/qa/unit/filters-test \
))
-$(call gb_CxxObject_get_target,sc/qa/unit/filters-test): $(WORKDIR)/AllLangRes/sc
-
$(eval $(call gb_CppunitTest_add_linked_libs,sc_filters_test, \
sc \
sfx \
@@ -103,4 +101,10 @@ $(eval $(call gb_RdbTarget_add_old_components,sc_filters_test,\
ucpfile1 \
))
+# we need to
+# a) explicitly depend on library msword because it is not implied by a link
+# relation
+# b) explicitly depend on the sc resource files needed at unit-test runtime
+$(call gb_CppunitTest_get_target,sc_filters_test) : $(call gb_Library_get_target,scfilt) $(WORKDIR)/AllLangRes/sc
+
# vim: set noet sw=4: