summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-16 22:56:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-16 22:56:40 +0100
commit9320802bf25dc2c7a8afc0304046883d3a0483d8 (patch)
tree14218c3b344a2d34e143fac0a3cf16fb63144938 /RepositoryExternal.mk
parent526e152bbe95e2fcfdeac76bbda37ef5555edcb4 (diff)
Better support for --with-system-boost --with-bost=...
Change-Id: I57ff908d1b44dd2f54f2990389e9dca8cea0f282
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 4253e2661fda..d0ad921d254c 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -505,7 +505,14 @@ $(call gb_LinkTarget_add_libs,$(1),\
endef
-gb_LinkTarget__use_boost_headers:=
+define gb_LinkTarget__use_boost_headers
+$(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ $(BOOST_CPPFLAGS) \
+)
+
+endef
+
gb_ExternalProject__use_boost_headers:=
else # !SYSTEM_BOOST