curl / Mailing Lists / curl-library / Single Mail


Re: --disable-symbol-hiding not working anymore?

From: Dan Fandrich <>
Date: Thu, 2 Aug 2018 10:36:49 +0200

On Thu, Aug 02, 2018 at 08:27:14AM +0200, Dan Fandrich wrote:
> On Wed, Aug 01, 2018 at 07:56:47AM +0200, Ran Mozes wrote:
> > Thanks for confirming the issue.
> >
> > Any ideas how to patch the make process in order to work around the issue?
> It looks to me like libtool is doing this on its own now for some reason.

I found the reason: commit 4b414249 "lib: don't export all symbols, just
everything curl_*" This commit completely ignores --disable-symbol-hiding and
ends up trying to do what it does but in poorer fashion. I'm not sure about the
static library issue it was intended to solve, but I would expect the same
mechanism as --disable-symbol-hiding should work in that case as well.
Received on 2018-08-02