summaryrefslogtreecommitdiff
path: root/liborcus
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-07 17:01:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-07 17:07:36 +0200
commitf006e75f1876bf7e6249352092d0ed7e7a5be20f (patch)
tree7bf2a3a4e3359861956923ca0e976ac388f5c3b4 /liborcus
parenta7c157e801928d2d113ec654c1d4fd61e7b7d6b5 (diff)
Make liborcus work --without-system-boost
Change-Id: I4e199c167a67ca73c1967a7cf45bb8cc5b0017e7
Diffstat (limited to 'liborcus')
-rw-r--r--liborcus/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/liborcus/makefile.mk b/liborcus/makefile.mk
index b108fce2589e..8d921092ffef 100644
--- a/liborcus/makefile.mk
+++ b/liborcus/makefile.mk
@@ -47,6 +47,10 @@ BUILD_ACTION= \
.ELSE
+.IF "$(SYSTEM_BOOST)" == "NO"
+MY_CXXFLAGS = CXXFLAGS=-I$(OUTDIR)/inc/external
+.END
+
CONFIGURE_DIR=
CONFIGURE_ACTION=./configure \
--with-pic \
@@ -54,7 +58,7 @@ CONFIGURE_ACTION=./configure \
--disable-shared \
--without-libzip \
--disable-debug \
- --disable-spreadsheet-model
+ --disable-spreadsheet-model $(MY_CXXFLAGS)
BUILD_ACTION=make
BUILD_DIR=