From a41eedddd3226e21a0855f90b7c4efd995245ee1 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 7 Dec 2008 14:54:43 +0000 Subject: [PATCH] * configure.in (LIBPATHFLAG): commit miss. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 028ae413a0..34fe037d2c 100644 --- a/configure.in +++ b/configure.in @@ -1447,12 +1447,6 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes;; cygwin*|mingw*) : ${LDSHARED="${CC} -shared "'$(if $(filter-out -g -g0,$(debugflags)),,-s)'} XLDFLAGS="$XLDFLAGS -Wl,--stack,0x00200000,--enable-auto-import" -case ${RPATHFLAG} in -*'%1$'*) - : ${LIBPATHFLAG=' -L%1$-s'};; -*) - : ${LIBPATHFLAG=' -L%s'};; -esac DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-image-base,--enable-auto-import,--export-all" : ${LIBPATHENV=""} rb_cv_dlopen=yes ;; @@ -1480,6 +1474,12 @@ if test "${LDSHAREDXX}" = ""; then ;; esac fi +case ${RPATHFLAG} in +*'%1$'*) + : ${LIBPATHFLAG=' -L%1$-s'};; +*) + : ${LIBPATHFLAG=' -L%s'};; +esac AC_SUBST(LINK_SO) AC_SUBST(LIBPATHFLAG)