[build] check if wasm3/milepost dependencies are present and build them otherwise
This commit is contained in:
parent
abb37537e9
commit
4e90290add
8
build.sh
8
build.sh
|
@ -39,6 +39,14 @@ elif [ $target = wasm3 ] ; then
|
|||
elif [ $target = orca ] ; then
|
||||
echo "building orca"
|
||||
|
||||
if [ ! \( -e milepost/bin/libmilepost.dylib \) -o ! \( -e milepost/bin/mtl_renderer.metallib \) ] ; then
|
||||
./build.sh milepost
|
||||
fi
|
||||
|
||||
if [ ! \( -e ./bin/libwasm3.a \) ] ; then
|
||||
./build.sh wasm3
|
||||
fi
|
||||
|
||||
# copy libraries
|
||||
cp milepost/bin/mtl_renderer.metallib bin/
|
||||
cp milepost/bin/libmilepost.dylib bin/
|
||||
|
|
Loading…
Reference in New Issue