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 65ddf6b145a9a88006c035b59b3769ea2f86452b..c1db121fd40972e7cfa48f5db54ca6726da54813 100644 (file)
@@ -1,3 +1,8 @@
+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
index f1d1f0e9e8680367451777f313ec851778792312..d7f66f8cdc73ca120217c48207798a1a940c39c6 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 9bada13208928cf38561617d88e49ff57a8cd1f8..00080f85fd388020c91af9a675ea11a7b0bcd72d 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