aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-07-02 08:27:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-07-02 08:27:33 +0200
commit9b367b1cf3c2e2f53ca6622e6600ab135b1691fa (patch)
tree3110be2aafb92dc785b12c2c58deb9fca832096c
parent977d07a3ae47ef204665d1eda2d642e5064724f3 (diff)
Fix export stub
-rw-r--r--build/export.build17
1 files changed, 13 insertions, 4 deletions
diff --git a/build/export.build b/build/export.build
index 8bca42a..4847950 100644
--- a/build/export.build
+++ b/build/export.build
@@ -2,12 +2,21 @@
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-$out_root/
+if ($import.target == exe{b})
{
- include build2/
-}
+ $out_root/
+ {
+ include build2/
+ }
-if ($import.target == exe{b})
export $out_root/build2/exe{b}
+}
elif ($import.target == lib{build2})
+{
+ $out_root/
+ {
+ include libbuild2/
+ }
+
export $out_root/libbuild2/lib{build2}
+}