On 17/07/2023 00:23, Sevan Janiyan wrote:
From ld(1) on 10.4
"-single_module
When building a dynamic library build the library so
that it contains only one module.
-multi_module(32-bitonly)
When building a dynamic library build the library so
that it contains one module for each object file linked in. This is the
default."
From ld(1) on 10.15
"-single_module
This is now the default so does not need to be specified.
-multi_module
Multi-modules in dynamic libraries have been ignored at
run-time since Mac OS X 10.4.0. This option is obsolete."
It looks like the default behaviour of the linker changed at some point
after 10.4.
From ld(1) on 10.5
"-single_module
This is now the default so does not need to be specified.
-multi_module
Multi-modules in dynamic libraries have been ignored at
run-time since Mac OS X 10.4.0. This option is obsolete."