aboutsummaryrefslogtreecommitdiff
path: root/build/export.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/export.build')
-rw-r--r--build/export.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/export.build b/build/export.build
index dc94fa4..8bca42a 100644
--- a/build/export.build
+++ b/build/export.build
@@ -7,4 +7,7 @@ $out_root/
include build2/
}
-export $out_root/build2/exe{b}
+if ($import.target == exe{b})
+ export $out_root/build2/exe{b}
+elif ($import.target == lib{build2})
+ export $out_root/libbuild2/lib{build2}