mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e36c4842e
commit
1b2f39fa09
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Sep 8 06:50:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
|
||||||
|
mingw.
|
||||||
|
|
||||||
Mon Sep 8 02:04:25 2008 Tanaka Akira <akr@fsij.org>
|
Mon Sep 8 02:04:25 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* include/ruby/encoding.h (rb_econv_set_replacement): renamed from
|
* include/ruby/encoding.h (rb_econv_set_replacement): renamed from
|
||||||
|
|
|
@ -1407,10 +1407,12 @@ if test "$with_dln_a_out" != yes; then
|
||||||
LDSHARED="$LDSHARED ${linker_flag}-G"
|
LDSHARED="$LDSHARED ${linker_flag}-G"
|
||||||
DLDFLAGS='-eInit_$(TARGET)'
|
DLDFLAGS='-eInit_$(TARGET)'
|
||||||
XLDFLAGS="${linker_flag}-bE:ruby.imp ${linker_flag}-brtl"
|
XLDFLAGS="${linker_flag}-bE:ruby.imp ${linker_flag}-brtl"
|
||||||
|
XLDFLAGS="$XLDFLAGS ${linker_flag}-blibpath:${prefix}/lib:${LIBPATH:-/usr/lib:/lib}"
|
||||||
: ${ARCHFILE="ruby.imp"}
|
: ${ARCHFILE="ruby.imp"}
|
||||||
TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)'
|
TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)'
|
||||||
TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)'
|
TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)'
|
||||||
: ${LIBPATHENV=SHLIB_PATH}
|
: ${LIBPATHENV=SHLIB_PATH}
|
||||||
|
RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s"
|
||||||
rb_cv_dlopen=yes ;;
|
rb_cv_dlopen=yes ;;
|
||||||
human*) : ${DLDFLAGS=''}
|
human*) : ${DLDFLAGS=''}
|
||||||
: ${LDSHARED=''}
|
: ${LDSHARED=''}
|
||||||
|
@ -1446,7 +1448,7 @@ if test "$with_dln_a_out" != yes; then
|
||||||
LDFLAGS="$LDFLAGS -L/lib -L/usr/lib -L/usr/local/lib"
|
LDFLAGS="$LDFLAGS -L/lib -L/usr/lib -L/usr/local/lib"
|
||||||
rb_cv_dlopen=yes;;
|
rb_cv_dlopen=yes;;
|
||||||
cygwin*|mingw*) : ${LDSHARED="${CC} -shared -s"}
|
cygwin*|mingw*) : ${LDSHARED="${CC} -shared -s"}
|
||||||
XLDFLAGS="$XLDFLAGS -Wl,--stack,0x00200000"
|
XLDFLAGS="$XLDFLAGS -Wl,--stack,0x00200000,--enable-auto-import"
|
||||||
DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-image-base,--enable-auto-import,--export-all"
|
DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-image-base,--enable-auto-import,--export-all"
|
||||||
: ${LIBPATHENV=""}
|
: ${LIBPATHENV=""}
|
||||||
rb_cv_dlopen=yes ;;
|
rb_cv_dlopen=yes ;;
|
||||||
|
|
Loading…
Reference in a new issue