Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The build script can be conveniently executed locally: % time MAKEFLAGS="-j8" .github/scripts/build-macos.sh We statically link OpenSSL: % otool -L otp/otp/lib/crypto-5.0.2/priv/lib/crypto.so otp/otp/lib/crypto-5.0.2/priv/lib/crypto.so: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1) See e.g.: https://rentzsch.tumblr.com/post/33696323211/wherein-i-write-apples-technote-about-openssl-on We also statically link wxWidgets: % otool -L lib/wx-2.1.1/priv/wxe_driver.so lib/wx-2.1.1/priv/wxe_driver.so: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 165.0.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1.11.0) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1000.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0) /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit (compatibility version 1.0.0, current version 612.3.6) /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 60157.60.19) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1200.3.0) Worth remembering that when downloading the release from GitHub via Web browser, macOS will put the file under quarantine: % ~/Downloads% xattr -l otp_macos_25.0-rc0.tar com.apple.quarantine: 0082;60e71fca;Safari; and after unpacking the executables will be put under quarantine as well, meaning they cannot be executed and you'll get a security warning. Here's how we can remove the tarball from quarantine: % xattr -d otp_macos_25.0-rc0.tar This will not be a problem when downloading the tarball with curl, etc. The proper solution is to codesign binaries.
- Loading branch information