aboutsummaryrefslogtreecommitdiff
path: root/build/export.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/export.build')
-rw-r--r--build/export.build18
1 files changed, 15 insertions, 3 deletions
diff --git a/build/export.build b/build/export.build
index 427f76b..5f921cb 100644
--- a/build/export.build
+++ b/build/export.build
@@ -1,9 +1,21 @@
# file : build/export.build
# license : MIT; see accompanying LICENSE file
-$out_root/
+if ($name($import.target) == 'butl-odb')
{
- include libbutl/
+ $out_root/
+ {
+ include libbutl-odb/
+ }
+
+ export $out_root/libbutl-odb/$import.target
}
+else
+{
+ $out_root/
+ {
+ include libbutl/
+ }
-export $out_root/libbutl/lib{butl}
+ export $out_root/libbutl/$import.target
+}