I’m using macOS 10.13 to do release builds of my applications. The applications are supposed to run on older versions of macOS as well. If I export
MACOSX_DEPLOYMENT_TARGET=10.10 when running
brew and make sure to never install bottles, will it work? Can I then copy the Homebrew-build dependencies into my application bundles for use on different macOS versions? Does anyone have any experiences with this?
Up until now, I’ve been building the dependencies by hand, making sure to use the correct
MACOSX_DEPLOYMENT_TARGET so I can bundle them alongside my applications. But the effort for doing this manually is getting out of hand. Building glib for example is kind of a dependency hell nowadays.