mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Fix build error
This commit is contained in:
@@ -69,12 +69,12 @@ dosbox-x.app: $(MACOS_BINARIES) contrib/macos/dosbox.icns src/tool/mach-o-matic
|
|||||||
done
|
done
|
||||||
# Remove the signatures from the architecture-dependant executables, and fix their linker search paths.
|
# 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 \
|
@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; \
|
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; \
|
src/tool/mach-o-matic dosbox-x.app/Contents/MacOS/arm64/dosbox-x || exit 1; \
|
||||||
fi
|
fi
|
||||||
@if [ -f dosbox-x.app/Contents/MacOS/x86_64/dosbox-x ]; then \
|
@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; \
|
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; \
|
src/tool/mach-o-matic dosbox-x.app/Contents/MacOS/x86_64/dosbox-x || exit 1; \
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user