diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Fri Apr 20 16:05:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted, + it is done by libpathflag in mkmf.rb. + Fri Apr 20 12:27:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/optparse.rb: fix to override conv proc. diff --git a/configure.in b/configure.in index 6ced76363f..662d53253f 100644 --- a/configure.in +++ b/configure.in @@ -964,7 +964,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 @@ -1028,7 +1028,7 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes ;; interix*) : ${LDSHARED="$CC -shared"} XLDFLAGS="$XLDFLAGS -Wl,-E" - LIBPATHFLAG=" -L'%1\$-s'" + LIBPATHFLAG=" -L%1\$-s" rb_cv_dlopen=yes ;; freebsd*|dragonfly*) : ${LDSHARED="$CC -shared"} if test "$rb_cv_binary_elf" = yes; then @@ -1108,8 +1108,8 @@ if test "$with_dln_a_out" != yes; then [ --disable-rpath embed run path into extension libraries.], [enable_rpath=$enableval], [enable_rpath="$rb_cv_binary_elf"]) if test "$enable_rpath" = yes; then - LIBPATHFLAG=" -L'%1\$-s'" - RPATHFLAG=" ${linker_flag}-R'%1\$-s'" + LIBPATHFLAG=" -L%1\$-s" + RPATHFLAG=" ${linker_flag}-R%1\$-s" fi fi AC_SUBST(LINK_SO) |