summary refs log tree commit diff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-01-25 10:41:27 +0100
committerAndreas Schwab <schwab@suse.de>2018-01-25 17:20:28 +0100
commit128c43a2d6308668032b285ca08228bebf26e74e (patch)
tree912e647884e97aebf86dba8c66ab295f2ed2b486 /sysdeps/gnu
parent86530b9fed4466a7c05e20ec4d5fd89b4dc41fa6 (diff)
downloadglibc-128c43a2d6308668032b285ca08228bebf26e74e.tar.gz
glibc-128c43a2d6308668032b285ca08228bebf26e74e.tar.xz
glibc-128c43a2d6308668032b285ca08228bebf26e74e.zip
LIBC_SLIBDIR_RTLDDIR: substitute arguments in single quotes
The arguments of the LIBC_SLIBDIR_RTLDDIR macro are used both in unquoted
and single quoted context, so that neither shell nor makefile variable
references work.  Consistently put them in single quotes so that they can
refer to makefile variables.
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r--sysdeps/gnu/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure
index 71243ad0c6..c15d1087e8 100644
--- a/sysdeps/gnu/configure
+++ b/sysdeps/gnu/configure
@@ -9,8 +9,8 @@
 test -n "$libc_cv_slibdir" ||
 case "$prefix" in
 /usr | /usr/)
-  libc_cv_slibdir=/lib
-  libc_cv_rtlddir=/lib
+  libc_cv_slibdir='/lib'
+  libc_cv_rtlddir='/lib'
   if test "$libdir" = '${exec_prefix}/lib'; then
     libdir='${exec_prefix}/lib';
     # Locale data can be shared between 32-bit and 64-bit libraries.