summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/Library_smoketest.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/smoketest/Library_smoketest.mk b/smoketest/Library_smoketest.mk
index f14348e484dd..c62e015c08fd 100644
--- a/smoketest/Library_smoketest.mk
+++ b/smoketest/Library_smoketest.mk
@@ -25,8 +25,14 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
+# this is a Library that contains a unit test, so it can be packaged
$(eval $(call gb_Library_Library,smoketest))
+# necessary because this is no CppUnitTest but a Library
+$(eval $(call gb_Library_add_defs,smoketest,\
+ -DCPPUNIT_PLUGIN_EXPORT='extern "C" SAL_DLLPUBLIC_EXPORT' \
+))
+
$(eval $(call gb_Library_use_api,smoketest,\
offapi \
udkapi \