summaryrefslogtreecommitdiff
path: root/test/source/cpp/makefile.mk
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-08-03 10:01:07 +0100
committerCaolán McNamara <cmc@openoffice.org>2010-08-03 10:01:07 +0100
commitfab0859824dfdf60de2c5f0d9c7c41efe3364c31 (patch)
tree71ed2f87d5fff40779767bd2b3b2ed34be8a2137 /test/source/cpp/makefile.mk
parentd57ac99460bae6dd3b85e803367fa82073819770 (diff)
cmcfixes77: #i113503# system non-stlport cppunit with OOo stlport
Diffstat (limited to 'test/source/cpp/makefile.mk')
-rw-r--r--test/source/cpp/makefile.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/source/cpp/makefile.mk b/test/source/cpp/makefile.mk
index 8494bd4aaa05..04eedea3c670 100644
--- a/test/source/cpp/makefile.mk
+++ b/test/source/cpp/makefile.mk
@@ -35,6 +35,13 @@ VISIBILITY_HIDDEN = TRUE
CDEFS += -DOOO_DLLIMPLEMENTATION_TEST
CFLAGSCXX += $(CPPUNIT_CFLAGS)
+#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
+
SLOFILES = \
$(SLO)/getargument.obj \
$(SLO)/officeconnection.obj \