[erlang-bugs] Build failure with --as-needed
Mikael Pettersson
mikpe@REDACTED
Fri Jan 11 13:42:18 CET 2008
Christian Faulhammer writes:
> Hi,
>
> 12B-0 linked with LDFLAGS="--as-needed" (Linux machine, 64-bit) fails
> to identify OpenSSL correctly:
>
> "checking for OpenSSL >= 0.9.7 in standard locations... found; but not
> usable configure: WARNING: No (usable) OpenSSL found, skipping ssl, ssh
> and crypto applications"
So why do you link with --as-needed?
(looks at man ld)
It would seem that --as-needed only is an optimisation, and
only in case the link command mentions redundant libraries, no?
/Mikael
More information about the erlang-bugs
mailing list