diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/configure.in b/configure.in index 9315ad92c6..f1b969d7b1 100644 --- a/configure.in +++ b/configure.in @@ -811,13 +811,7 @@ if test "$with_dln_a_out" != yes; then openstep*) CCDLFLAGS="$CCDLFLAGS -fno-common";; rhapsody*) CCDLFLAGS="$CCDLFLAGS -fno-common";; darwin*) CCDLFLAGS="$CCDLFLAGS -fno-common";; - human*) ;; - bsdi*) ;; - beos*) ;; - cygwin*) ;; - mingw*) ;; - aix*) ;; - netbsd*) CCDLFLAGS="$CCDLFLAGS -fPIC";; + human*|bsdi*|beos*|cygwin*|mingw*|aix*|interix*) ;; *) CCDLFLAGS="$CCDLFLAGS -fPIC";; esac else @@ -859,6 +853,9 @@ if test "$with_dln_a_out" != yes; then rb_cv_dlopen=yes ;; linux*) : ${LDSHARED="$CC -shared"} rb_cv_dlopen=yes ;; + interix*) : ${LDSHARED="$CC -shared"} + XLDFLAGS="$XLDFLAGS -Wl,-E" + rb_cv_dlopen=yes ;; gnu*) : ${LDSHARED="$CC -shared"} rb_cv_dlopen=yes LDFLAGS="$LDFLAGS -rdynamic" ;; |