site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=+rphtMTJuKPIQjwAa9OdLRz19xOobmo2FUm7WYGXe7o=; b=j2DTIFrJ8G22/d9bTYIBynxY1mJYwhte9mLWCbQNazIkWWg7nL/F8W/Dd4Nl7kgWPS gAmWQPWt7Ar19W4f7LlZA0Uo9n9YfySi4gDh1mDTFMF4Xu2LnCL0xzzXxuztzweihZAp qL/6PB8y6GRk4366TE/5MMuaX3OrEJB3V+1feXae/WmWvr8wZMeMHqTQb8U2faQnsDWZ GdTXXnR8AjPOGarfQLJyrMB9telcVrA4NNYAjgCVudptgdWzQRHHvN00bRGFE4jX9hDU P1z+oZv2bxtQL3yFesCCNtlId3alJtbmqLhjbyCIsr1We2gtv5R0S5nMcKbDd0CDB3/x JqWw== Dear Axel, yes, definitely, ant it's recent enough since it looks like it was not available in XCode11. It has a different semantics, since this mean that one has to specify all the "hidden" libraries, and possibly the "-hidden-lx" has to used instead of "-lx", for example "-hidden-lssl" instead of "-lss"[1]. In a sense, the "--exclude-libs" semantics still looks more appealing, since it doesn't require changes to an existing build infrastructure (think of CMake/autotools controlled build), and a different behavior can be enforced by patching linker flags (also the wildcard "ALL" in --exclude-libs is useful). Will "-hidden-lx" work also with multiple conflicting switches, like the last switch in the command line wins (similarly to compilation flags)? Cheers, Francesco [1] https://stackoverflow.com/a/70425525/213871 On Mon, 21 Feb 2022 at 14:05, Axel Lüttgens via Darwin-dev <darwin-dev@lists.apple.com> wrote:
Hello Francesco,
Could option "-hidden-lx" of ld be of some help?
Axel
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/ceztko%40gmail.com
This email sent to ceztko@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com