diff --git a/configure b/configure index 42738fded..ad05f54e5 100755 --- a/configure +++ b/configure @@ -4007,14 +4007,14 @@ fi HARDEN_CFLAGS="" HARDEN_LDFLAGS="" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -rpath=/bin/" >&5 -$as_echo_n "checking whether the linker accepts -rpath=/bin/... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -rpath /bin/" >&5 +$as_echo_n "checking whether the linker accepts -rpath /bin/... " >&6; } if ${ax_cv_check_ldflags__Werror___rpath__bin_+:} false; then : $as_echo_n "(cached) " >&6 else ax_check_save_flags=$LDFLAGS - LDFLAGS="$LDFLAGS -Werror -rpath=/bin/" + LDFLAGS="$LDFLAGS -Werror -rpath /bin/" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4038,9 +4038,9 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags__Werror___rpath__bin_" >&5 $as_echo "$ax_cv_check_ldflags__Werror___rpath__bin_" >&6; } if test x"$ax_cv_check_ldflags__Werror___rpath__bin_" = xyes; then : - RPATH_FORMAT="-rpath=" -else RPATH_FORMAT="-rpath " +else + RPATH_FORMAT="-rpath=" fi diff --git a/configure.ac b/configure.ac index 8b625544f..c555b5984 100644 --- a/configure.ac +++ b/configure.ac @@ -141,7 +141,7 @@ AC_ARG_ENABLE([hardening], HARDEN_CFLAGS="" HARDEN_LDFLAGS="" -check_link_flag([-rpath=/bin/], [RPATH_FORMAT="-rpath="], [RPATH_FORMAT="-rpath "]) +check_link_flag([-rpath /bin/], [RPATH_FORMAT="-rpath "], [RPATH_FORMAT="-rpath="]) AS_IF([test x"$hardening" != x"no"], [