ld: Add a ',' after -Wl,--rpath
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Aug 2017 03:01:28 +0000 (20:01 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 9 Aug 2017 03:01:28 +0000 (20:01 -0700)
* configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath.
* configure: Regenerated.

ld/ChangeLog
ld/configure
ld/configure.ac

index 65ddf6b..c1db121 100644 (file)
@@ -1,5 +1,10 @@
 2017-08-08  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath.
+       * configure: Regenerated.
+
+2017-08-08  H.J. Lu  <hongjiu.lu@intel.com>
+
        PR ld/21923
        * configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath
        for --disable-static.
index f1d1f0e..d7f66f8 100755 (executable)
@@ -17298,7 +17298,7 @@ EMULATION_LIBPATH=$all_libpath
 
 
 if test x${enable_static} = xno; then
-  TESTBFDLIB="-Wl,--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
+  TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
 else
   TESTBFDLIB="../bfd/.libs/libbfd.a"
 fi
index 9bada13..00080f8 100644 (file)
@@ -470,7 +470,7 @@ EMULATION_LIBPATH=$all_libpath
 AC_SUBST(EMULATION_LIBPATH)
 
 if test x${enable_static} = xno; then
-  TESTBFDLIB="-Wl,--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
+  TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
 else
   TESTBFDLIB="../bfd/.libs/libbfd.a"
 fi