summaryrefslogtreecommitdiff
path: root/cppuhelper/qa/weak/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/qa/weak/makefile.mk')
-rw-r--r--cppuhelper/qa/weak/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppuhelper/qa/weak/makefile.mk b/cppuhelper/qa/weak/makefile.mk
index 771edb26cfe5..4fb9fda555b8 100644
--- a/cppuhelper/qa/weak/makefile.mk
+++ b/cppuhelper/qa/weak/makefile.mk
@@ -33,6 +33,10 @@ ENABLE_EXCEPTIONS := TRUE
.INCLUDE: settings.mk
+.IF "$(SYSTEM_CPPUNIT)"=="YES"
+CFLAGS+= $(CPPUNIT_CFLAGS)
+.ENDIF
+
DLLPRE = # no leading "lib" on .so files
SHL1TARGET = $(TARGET)