From 9b367b1cf3c2e2f53ca6622e6600ab135b1691fa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 Jul 2019 08:27:33 +0200 Subject: Fix export stub --- build/export.build | 17 +++++++++++++---- 1 file 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} +} -- cgit v1.1