Kaydet (Commit) d8b6225d authored tarafından Michael Stahl's avatar Michael Stahl

smoketest: fix build with MSVC:

Linking an empty CppunitTest against smoketest Library does not work,
the linker complains aboutunresolved external symbol DllMainCRTstartup
or something like that; building a static library has the same result;
so just build the cxx file twice via a dummy smoketest_too.cxx.

Change-Id: I11a29d4ec134f67a7de896ff8c669ed5b47782a7
üst 111e10bd
...@@ -29,13 +29,20 @@ $(eval $(call gb_CppunitTest_CppunitTest,smoketest)) ...@@ -29,13 +29,20 @@ $(eval $(call gb_CppunitTest_CppunitTest,smoketest))
$(eval $(call gb_CppunitTest_abort_on_assertion,smoketest)) $(eval $(call gb_CppunitTest_abort_on_assertion,smoketest))
$(eval $(call gb_CppunitTest_add_exception_objects,smoketest,\
smoketest/smoketest_too \
))
$(eval $(call gb_CppunitTest_use_api,smoketest,\ $(eval $(call gb_CppunitTest_use_api,smoketest,\
offapi \ offapi \
udkapi \ udkapi \
)) ))
$(eval $(call gb_CppunitTest_use_libraries,smoketest,\ $(eval $(call gb_CppunitTest_use_libraries,smoketest,\
smoketest \ cppu \
cppuhelper \
sal \
unotest \
)) ))
ifeq ($(OS),MACOSX) ifeq ($(OS),MACOSX)
......
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