diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 1db8649cd4..df9a331e62 100644 --- a/configure.in +++ b/configure.in @@ -808,6 +808,8 @@ if test "$with_dln_a_out" != yes; then DLDFLAGS="${DLDFLAGS} "'$(DEFFILE)' rb_cv_dlopen=yes ;; hiuxmpp) LDSHARED='ld -r' ;; + atheos*) LDSHARED="$CC -shared" + rb_cv_dlopen=yes ;; *) LDSHARED='ld' ;; esac AC_MSG_RESULT($rb_cv_dlopen) @@ -955,9 +957,6 @@ rb_cv_missing_fconvert=yes, rb_cv_missing_fconvert=no, rb_cv_missing_fconvert=no *djgpp*) setup=Setup.dj ;; - atheos*) - setup=Setup.atheos - ;; *) setup=Setup ;; @@ -1085,6 +1084,10 @@ if test "$enable_shared" = 'yes'; then LIBRUBY_DLDFLAGS='-install_name $(libdir)/lib$(RUBY_SO_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)' LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_SO_NAME).dylib' ;; + atheos*) + LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)' + LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so' + ;; *) ;; esac |