libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix -single_module issues on recent macOS


From: Joshua Root
Subject: [PATCH] Fix -single_module issues on recent macOS
Date: Thu, 26 Sep 2024 15:53:59 +1000
User-agent: Mozilla Thunderbird

Originally submitted at <https://savannah.gnu.org/support/?110937>.

The check for whether the linker supports the -single_module flag assumes that anything printed to stderr containing the string "single_module" means it is unsupported. Xcode 15 does print such a message, though it only indicates that the flag is deprecated. Lack of single module support triggers some workarounds that aren't needed and don't work very well on modern systems.

This flag has been unnecessary for many macOS versions, so teaching libtool that it is not needed in this case is probably preferable to just fixing the check.

- Josh

Attachment: single_module.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]