From 719f243b1fe39726f2675f3e4cc095993d6f9b86 Mon Sep 17 00:00:00 2001 From: Un1q32 Date: Sun, 20 Apr 2025 19:13:22 -0400 Subject: [PATCH] no universal binaries --- build.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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