summaryrefslogtreecommitdiff
path: root/sal/qa/osl/thread/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/osl/thread/makefile.mk')
-rw-r--r--sal/qa/osl/thread/makefile.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/sal/qa/osl/thread/makefile.mk b/sal/qa/osl/thread/makefile.mk
index b40cb7bee..972d589a0 100644
--- a/sal/qa/osl/thread/makefile.mk
+++ b/sal/qa/osl/thread/makefile.mk
@@ -33,6 +33,13 @@ ENABLE_EXCEPTIONS := TRUE
.INCLUDE: settings.mk
+# building with stlport, but cppunit was not built with stlport
+.IF "$(USE_SYSTEM_STL)"!="YES"
+.IF "$(SYSTEM_CPPUNIT)"=="YES"
+CFLAGSCXX+=-DADAPT_EXT_STL
+.ENDIF
+.ENDIF
+
DLLPRE = # no leading "lib" on .so files
SHL1TARGET = $(TARGET)
@@ -46,4 +53,4 @@ SLOFILES = $(SHL1OBJS)
.INCLUDE: target.mk
-.INCLUDE: _cppunit.mk \ No newline at end of file
+.INCLUDE: _cppunit.mk