Skip to content

Commit 4b9c928

Browse files
committed
Merge branch 'main' of github.com:roc-lang/basic-cli into 0.13.x
2 parents 79045e0 + 79bb5e8 commit 4b9c928

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jump-start.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ $ROC glue glue.roc crates ./platform/main.roc
2222

2323
cargo build --release
2424

25-
cp target/release/libhost.a ./platform/libhost.a
25+
if [ -n "$CARGO_BUILD_TARGET" ]; then
26+
cp target/$CARGO_BUILD_TARGET/release/libhost.a ./platform/libhost.a
27+
else
28+
cp target/release/libhost.a ./platform/libhost.a
29+
fi
2630

2731
$ROC build --linker=legacy build.roc

0 commit comments

Comments
 (0)