From 9165f4548be8612161fb90cfad9bd0cc6a752c90 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 8 Aug 2017 20:01:28 -0700 Subject: [PATCH] ld: Add a ',' after -Wl,--rpath * configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath. * configure: Regenerated. --- ld/ChangeLog | 5 +++++ ld/configure | 2 +- ld/configure.ac | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 65ddf6b145a..c1db121fd40 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-08-08 H.J. Lu + + * configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath. + * configure: Regenerated. + 2017-08-08 H.J. Lu PR ld/21923 diff --git a/ld/configure b/ld/configure index f1d1f0e9e86..d7f66f8cdc7 100755 --- a/ld/configure +++ b/ld/configure @@ -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 diff --git a/ld/configure.ac b/ld/configure.ac index 9bada132089..00080f85fd3 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -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 -- 2.30.2