Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 6b5bc8a

Browse files
Update build_tarballs.jl
1 parent 7edff89 commit 6b5bc8a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

build_tarballs.jl

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ cd $WORKSPACE/srcdir
1515
cd ecos-2.0.6/
1616
make shared
1717
mkdir $prefix/lib
18-
cp libecos.so $prefix/lib
19-
cp libecos.dll $prefix/lib
20-
cp libecos.dylib $prefix/lib
2118
19+
if [[ $target = *"w64"* ]]; then
20+
cp libecos.dll $prefix/lib
21+
fi
22+
if [[ $target = *"linux"* ]] || [[ $target = *"freebsd"* ]]; then
23+
cp libecos.so $prefix/lib;
24+
fi
25+
if [[ $target = *"apple"* ]]; then
26+
cp libecos.dylib $prefix/lib
27+
fi
2228
"""
2329

2430
# These are the platforms we will build for by default, unless further

0 commit comments

Comments
 (0)