[Libreoffice-commits] .: smoketest/Library_smoketest.mk

Michael Stahl mst at kemper.freedesktop.org
Thu Jun 28 10:31:20 PDT 2012


 smoketest/Library_smoketest.mk |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 1e0a880cfe5b9d724f1bb2b6bedb25da46d6c5ab
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Jun 28 19:29:18 2012 +0200

    smoketest: fix breakage from 328e2263fb6e2415bafbc40a7d7309b66f65971a
    
    Change-Id: I18eaf5596e9ba518672ef041bf6084ef84f608fb

diff --git a/smoketest/Library_smoketest.mk b/smoketest/Library_smoketest.mk
index f14348e..c62e015 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 \


More information about the Libreoffice-commits mailing list