pandemonium_engine/misc/osx/lipo.sh

13 lines
676 B
Bash
Raw Normal View History

export STRIP="x86_64-apple-darwin21.4-strip -u -r"
# Tools
lipo -create ../../bin/pandemonium.osx.opt.tools.x86_64 ../../bin/pandemonium.osx.opt.tools.arm64 -output ../../bin/pandemonium.osx.opt.tools.universal
$STRIP ../../bin/pandemonium.osx.opt.tools.universal
# Export Templates
lipo -create ../../bin/pandemonium.osx.opt.x86_64 ../../bin/pandemonium.osx.opt.arm64 -output ../../bin/pandemonium.osx.opt.universal
$STRIP ../../bin/pandemonium.osx.opt.universal
lipo -create ../../bin/pandemonium.osx.opt.debug.x86_64 ../../bin/pandemonium.osx.opt.debug.arm64 -output ../../bin/pandemonium.osx.opt.debug.universal
$STRIP ../../bin/pandemonium.osx.opt.debug.universal