diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-02 08:27:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-07-02 08:27:33 +0200 |
commit | 9b367b1cf3c2e2f53ca6622e6600ab135b1691fa (patch) | |
tree | 3110be2aafb92dc785b12c2c58deb9fca832096c /build/export.build | |
parent | 977d07a3ae47ef204665d1eda2d642e5064724f3 (diff) |
Fix export stub
Diffstat (limited to 'build/export.build')
-rw-r--r-- | build/export.build | 17 |
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} +} |