no universal binaries

This commit is contained in:
Un1q32
2025-04-20 19:13:22 -04:00
parent d31cfb0b9b
commit 719f243b1f

View File

@@ -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