aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/buildfile1
-rw-r--r--build/export.build6
2 files changed, 7 insertions, 0 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index c498ed9..b084404 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -4,3 +4,4 @@
import libs += libbutl
lib{bpkg}: cxx{manifest-parser manifest-serializer manifest} $libs
+lib{bpkg}: cxx.export.poptions = -I$src_root
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..622d286
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,6 @@
+$out_root/:
+{
+ include bpkg/
+}
+
+export $out_root/butl/lib{bpkg}