Skip to content

Commit

Permalink
* configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
Browse files Browse the repository at this point in the history
  mingw.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/mvm@19230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Sep 7, 2008
1 parent b7fb43f commit 6c44642
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
@@ -1,4 +1,7 @@
Mon Sep 8 05:54:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
Mon Sep 8 05:56:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>

* configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
mingw.

* dir.c (rb_dir_open), io.c (rb_sysopenat, rb_openat): resolved
conflicts.
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -1448,7 +1448,7 @@ if test "$with_dln_a_out" != yes; then
LDFLAGS="$LDFLAGS -L/lib -L/usr/lib -L/usr/local/lib"
rb_cv_dlopen=yes;;
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"
: ${LIBPATHENV=""}
rb_cv_dlopen=yes ;;
Expand Down

0 comments on commit 6c44642

Please sign in to comment.