My app uses several 3rd party C++ libraries such as Google's Protobuf and many others.
Most of them are dynamic libs (.dylib) and were built using standard .configure/make/make install from source.
It is not clear to me how to build these in order to get universal libraries which run on Intel and Apple Silicon.
Is there a flag in the standard build system that causes it to output a universal binary? Or can I build two libs (one for Intel and one for Apple Silicon) and combine them into a universal binary?
Most of them are dynamic libs (.dylib) and were built using standard .configure/make/make install from source.
It is not clear to me how to build these in order to get universal libraries which run on Intel and Apple Silicon.
Is there a flag in the standard build system that causes it to output a universal binary? Or can I build two libs (one for Intel and one for Apple Silicon) and combine them into a universal binary?