1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (LIBPATHFLAG): commit miss.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-12-07 14:54:43 +00:00
parent f65395f72e
commit a41eedddd3

View file

@ -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)