diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-12 07:50:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-12 07:50:28 +0000 |
commit | 9565e98b6e42f50986d3865cd196cce77cb5b182 (patch) | |
tree | 2ad04f37a899786dab3f77444411350ba0cea6ed /configure.in | |
parent | 04e2a72f1ec29949d8543116160cb8c315a23dd8 (diff) |
* configure.in: a patch to build on GNU/kOpenSolaris from Robert
Millan at [ruby-core:21888].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 958f76804e..5c5ce548c0 100644 --- a/configure.in +++ b/configure.in @@ -1398,7 +1398,7 @@ if test "$rb_cv_binary_elf" = yes; then fi case "$target_os" in -when(linux* | gnu* | k*bsd*-gnu | bsdi*) +when(linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu) if test "$rb_cv_binary_elf" = no; then with_dln_a_out=yes else @@ -1491,7 +1491,7 @@ if test "$with_dln_a_out" != yes; then when(*shlicc*) : ${LDSHARED="$CC -r"} rb_cv_dlopen=yes ;; esac ;; - when(linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi*) + when(linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi* | kopensolaris*-gnu) : ${LDSHARED='${CC} -shared'} if test "$rb_cv_binary_elf" = yes; then LDFLAGS="$LDFLAGS -Wl,-export-dynamic" @@ -1684,7 +1684,7 @@ else fi case "$target_os" in - when(linux* | gnu* | k*bsd*-gnu) + when(linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) STRIP='strip -S -x';; when(nextstep* | openstep* | rhapsody* | darwin*) STRIP='strip -A -n';; @@ -1777,7 +1777,7 @@ if test "$enable_shared" = 'yes'; then when(sunos4*) LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so' ;; - when(linux* | gnu* | k*bsd*-gnu | atheos*) + when(linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu) 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' ;; |