Kaydet (Commit) e8342dab authored tarafından Caolán McNamara's avatar Caolán McNamara

make sure filters unit test depends on non-linked scfilt lib

üst a4ef0ea1
...@@ -33,8 +33,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sc_filters_test, \ ...@@ -33,8 +33,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sc_filters_test, \
sc/qa/unit/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, \ $(eval $(call gb_CppunitTest_add_linked_libs,sc_filters_test, \
sc \ sc \
sfx \ sfx \
...@@ -103,4 +101,10 @@ $(eval $(call gb_RdbTarget_add_old_components,sc_filters_test,\ ...@@ -103,4 +101,10 @@ $(eval $(call gb_RdbTarget_add_old_components,sc_filters_test,\
ucpfile1 \ 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: # vim: set noet sw=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment