summaryrefslogtreecommitdiff
path: root/liborcus
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-09-07 11:15:54 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-09-07 11:16:32 -0400
commitf721ae074deef795a32ad28289286b5d2667af0d (patch)
treef2635cd5fc5fe9a66f5c86a7cf46cbc1081c5bb2 /liborcus
parent127d842cbb41db987ac5d03ca78520a32b6fb206 (diff)
Specify boost header directory for internal boost.
Change-Id: I60e8533552161933f48a4dfbe17e5108f77fa2eb
Diffstat (limited to 'liborcus')
-rw-r--r--liborcus/makefile.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/liborcus/makefile.mk b/liborcus/makefile.mk
index fd04605c4fd0..0f6b72cb5d01 100644
--- a/liborcus/makefile.mk
+++ b/liborcus/makefile.mk
@@ -53,7 +53,13 @@ MY_CXXFLAGS = CXXFLAGS=-I$(OUTDIR)/inc/external
.END
CONFIGURE_DIR=
-CONFIGURE_ACTION=./configure \
+CONFIGURE_ACTION=
+
+.IF "$(SYSTEM_BOOST)" != "YES"
+CONFIGURE_ACTION+=export CPPFLAGS="$(CPPFLAGS) -I$(OUTDIR)/inc/external" &&
+.ENDIF
+
+CONFIGURE_ACTION+=./configure \
--with-pic \
--enable-static \
--disable-shared \