summaryrefslogtreecommitdiff
path: root/cppunit/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cppunit/makefile.mk')
-rw-r--r--cppunit/makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index b57c341e2a23..cd96f3bf2707 100644
--- a/cppunit/makefile.mk
+++ b/cppunit/makefile.mk
@@ -71,6 +71,11 @@ $(PACKAGE_DIR)/$(CONFIGURE_FLAG_FILE): ooo-cppunit_dll.mk ooo-DllPlugInTester.mk
.ELSE
+.IF "$(OS)" == "WNT"
+EXTRA_CFLAGS += -mthreads
+LDFLAGS += -Wl,--enable-runtime-pseudo-reloc-v2
+.ENDIF
+
.IF "$(USE_SYSTEM_STL)" != "YES"
OOO_STLPORT_CXXFLAGS = -I$(SOLARINCDIR)/stl