summaryrefslogtreecommitdiff
path: root/solenv/inc/libs.mk
diff options
context:
space:
mode:
authorRene Engelhard <rene@openoffice.org>2010-03-03 21:01:44 +0100
committerRene Engelhard <rene@openoffice.org>2010-03-03 21:01:44 +0100
commit2b8cbfd9ab2b56870304cf3eec8e98cdadea05d6 (patch)
treedd6e989dc13d424ab7c1d5734004a1ecca36ca99 /solenv/inc/libs.mk
parenta8fe2b4d04b649ffb675741732951a97ac740f78 (diff)
sb118: add --with-system-cppunit
Diffstat (limited to 'solenv/inc/libs.mk')
-rw-r--r--solenv/inc/libs.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk
index 4e5af63e092e..d29f12c582c3 100644
--- a/solenv/inc/libs.mk
+++ b/solenv/inc/libs.mk
@@ -269,8 +269,12 @@ JVMACCESSLIB = -ljvmaccess$(COMID)
.IF "$(OS)" == "WNT"
CPPUNITLIB = -lcygcppunit-1-12-1
.ELSE
+.IF "$(SYSTEM_CPPUNIT)"=="YES"
+CPPUNITLIB += $(CPPUNIT_LIBS)
+.ELSE
CPPUNITLIB = -lcppunit
.ENDIF
+.ENDIF
.IF "$(SYSTEM_LIBXSLT)"=="YES"
XSLTLIB=$(LIBXSLT_LIBS)
.ELSE