Subject: bug#14364: Bug Report: Lacking '=' when specifying -soname

From: Peter Rosin <[email-masked]>
Date: Wed, 08 May 2013 09:41:24 +0200

On 2013-05-07 23:11, Bob Fischer wrote:
> The problem: libtool is generating a command line like
>     -Wl,-soname -Wl,libglint2.so.0
> instead of
>     -Wl,-soname=libglint2.so.0

Those two should be exactly equivalent, at least according to the
GNU ld manual. Quoting from section 2.1 "Command line options":

	Arguments to multiple-letter options must either be
	separated from the option name by an equals sign, or
	be given as separate arguments immediately following
	the option that requires them.  For example,
	`--trace-symbol foo' and `--trace-symbol=foo' are
	equivalent.  Unique abbreviations of the names of
	multiple-letter options are accepted.

AFAICT, that paragraph is the same in ld 2.20 and in current ld.

So, the problem does not appear to be the command line libtool is
generating. I.e., the problem appears to be elsewhere.

Cheers,
Peter