We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a444b commit c3a02b6Copy full SHA for c3a02b6
packages/macos/make-universal.sh
@@ -15,5 +15,7 @@ touch $INSTALLDIR/.keep
15
lipo -create -output $INSTALLDIR/$BINDIR/$BINNAME $INSTALLDIR-x86_64/$BINDIR/$BINNAME $INSTALLDIR-arm64/$BINDIR/$BINNAME
16
17
for f in $INSTALLDIR-arm64/$BINDIR/*.dylib; do
18
- lipo -create -output $INSTALLDIR/$BINDIR/$(basename $f) $INSTALLDIR-x86_64/$BINDIR/$(basename $f) $INSTALLDIR-arm64/$BINDIR/$(basename $f)
+ if [ -f $INSTALLDIR-arm64/$BINDIR/$(basename $f) ]; then
19
+ lipo -create -output $INSTALLDIR/$BINDIR/$(basename $f) $INSTALLDIR-x86_64/$BINDIR/$(basename $f) $INSTALLDIR-arm64/$BINDIR/$(basename $f)
20
+ fi
21
done
0 commit comments