However the same command generates a Makefile on MacOS that results in many undefined symbol errors, for symbols defined in third-party libraries. What are the proper commands that prevent this problem?
If your library requires external (third-part) libraries to link, there should probably be a target_link_libraries(mbauxShared ...) command somewhere to link the libraries in.