mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-07 18:36:09 +08:00
Fix build error
This commit is contained in:
parent
c99be9dd08
commit
904cb3514b
@ -69,12 +69,12 @@ dosbox-x.app: $(MACOS_BINARIES) contrib/macos/dosbox.icns src/tool/mach-o-matic
|
||||
done
|
||||
# Remove the signatures from the architecture-dependant executables, and fix their linker search paths.
|
||||
@if [ -f dosbox-x.app/Contents/MacOS/arm64/dosbox-x ]; then \
|
||||
export ARCHPREF=arm64
|
||||
export ARCHPREF=arm64; \
|
||||
codesign --remove-signature dosbox-x.app/Contents/MacOS/arm64/dosbox-x || exit 1; \
|
||||
src/tool/mach-o-matic dosbox-x.app/Contents/MacOS/arm64/dosbox-x || exit 1; \
|
||||
fi
|
||||
@if [ -f dosbox-x.app/Contents/MacOS/x86_64/dosbox-x ]; then \
|
||||
export ARCHPREF=x86_64
|
||||
export ARCHPREF=x86_64; \
|
||||
codesign --remove-signature dosbox-x.app/Contents/MacOS/x86_64/dosbox-x || exit 1; \
|
||||
src/tool/mach-o-matic dosbox-x.app/Contents/MacOS/x86_64/dosbox-x || exit 1; \
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user