aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r--bpkg/buildfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index 582b8dc..93f8712 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -8,7 +8,12 @@
define xml: file
xml{*}: extension = xml
-import libs = libbpkg%lib{bpkg}
+import libs = build2%lib{build2}
+
+for m: bin c cc cxx in version
+ import libs += build2%lib{build2-$m}
+
+import libs += libbpkg%lib{bpkg}
import libs += libbutl%lib{butl}
import libs += libodb%lib{odb}
import libs += libodb-sqlite%lib{odb-sqlite}