Re: [patch #10371] Simplify darwin check

Sevan Janiyan <[email protected]> Mon, 17 Jul 2023 00:23:42 +0100
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
On 16/07/2023 17:59, FX wrote:
> single_module has 
> been the default since macOS 10.3, and the opposition option 
> (multi_module) has been ignored silently since macOS 10.4, released 
> April 2005.

 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.


Sevan