ld: Replace --rpath with -Wl,--rpath
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 8 Aug 2017 21:13:46 +0000 (14:13 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 8 Aug 2017 21:16:02 +0000 (14:16 -0700)
commitfe22cbc418b35ed6ea3252a204bd351f8c201e0b
tree1a2756d6a7db83342f9a907d084b5a3be503076b
parent24d3e51bf0612c6cf5e9a824b982e7ed38e741c8
ld: Replace --rpath with -Wl,--rpath

"--rpath ../bfd/.libs ../bfd/.libs/libbfd.so" isn't a valid compiler
command-line option.  We should use -Wl,--rpath instead of --rpath.

PR ld/21923
* configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath
for --disable-static.
* configure: Regenerated.
ld/ChangeLog
ld/configure
ld/configure.ac