From 482b9c2ce7837af5071ba38db0874046020a10db Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 10 Jan 2004 14:01:50 +0000 Subject: * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single quotes. [ruby-dev:22564] * lib/mkmf.rb (libpathflag): do not enclose with quotes always. * {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 3c07c4e402..9a2416c75c 100644 --- a/configure.in +++ b/configure.in @@ -799,7 +799,7 @@ AC_SUBST(DLEXT2)dnl AC_SUBST(LIBEXT)dnl STATIC= -: ${LIBPATHFLAG=' -L%s'} +: ${LIBPATHFLAG=" -L'%s'"} : ${PATHFLAG=''} if test "$with_dln_a_out" != yes; then @@ -873,8 +873,8 @@ if test "$with_dln_a_out" != yes; then netbsd*) : ${LDSHARED='${CC} -shared'} if test "$rb_cv_binary_elf" = yes; then LDFLAGS="$LDFLAGS -Wl,-export-dynamic" - LIBPATHFLAG=' -L%1$-s' - RPATHFLAG=' -Wl,-R%1$-s' + LIBPATHFLAG=" -L'%1\$-s'" + RPATHFLAG=" -Wl,-R'%1\$-s'" fi rb_cv_dlopen=yes ;; openbsd*) : ${LDSHARED="\$(CC) -shared ${CCDLFLAGS}"} -- cgit v1.2.3