aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:31:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:31:28 +0200
commit3d2b5b2a7064abe35614ebb32db03bd2881adcf0 (patch)
tree06ee636512c210323ddebe181ebf8448ca95ae69
parent913187573fe43766621637c1546e9ff9b4284986 (diff)
Add out_root to include search path now that we auto-generate version
-rw-r--r--xml/buildfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml/buildfile b/xml/buildfile
index 6ce4568..c082048 100644
--- a/xml/buildfile
+++ b/xml/buildfile
@@ -60,11 +60,11 @@ else
# We are a mixed C/C++ library, though C is implementatio-only, kind of: we
# need headers but not symbols.
#
-cc.poptions =+ "-I$src_root" -DLIBSTUDXML_BUILD2
+cc.poptions =+ "-I$out_root" "-I$src_root" -DLIBSTUDXML_BUILD2
obja{*}: cc.poptions += -DLIBSTUDXML_STATIC_BUILD
objs{*}: cc.poptions += -DLIBSTUDXML_SHARED_BUILD
-lib{studxml}: cc.export.poptions = "-I$src_root" -DLIBSTUDXML_BUILD2
+lib{studxml}: cc.export.poptions = "-I$out_root" "-I$src_root" -DLIBSTUDXML_BUILD2
liba{studxml}: cc.export.poptions += -DLIBSTUDXML_STATIC
libs{studxml}: cc.export.poptions += -DLIBSTUDXML_SHARED