diff --git a/build.sh b/build.sh index 2264d74..c0e4c25 100755 --- a/build.sh +++ b/build.sh @@ -5,11 +5,10 @@ [ -z "$CLANG" ] && CLANG=clang [ -z "$STRIP" ] && STRIP=llvm-strip -[ -z "$LIPO" ] && LIPO=llvm-lipo # build for mac -for dep in wget $CLANG $STRIP $LIPO; do +for dep in wget $CLANG $STRIP; do if ! command -v "$dep" > /dev/null; then error "Missing dependency: $dep" fi @@ -30,10 +29,6 @@ $CLANG $CFLAGS -Ijni-headers -fuse-ld=lld oc2rnet.c -shared -target arm64-apple- $STRIP liboc2rnet-* -$LIPO -create liboc2rnet-*.dylib -output liboc2rnet.dylib - -rm -f liboc2rnet-*.dylib - # build for other platforms if ! [ -d zig ]; then