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 | 3e8706523b1282078f5acfc7b4ee7d013bf5b78f (patch) | |
tree | 2ad04f37a899786dab3f77444411350ba0cea6ed | |
parent | 9ce3bae56724d2e29b8f3dd54104e6aa0f05e643 (diff) | |
download | ruby-3e8706523b1282078f5acfc7b4ee7d013bf5b78f.tar.gz ruby-3e8706523b1282078f5acfc7b4ee7d013bf5b78f.tar.xz ruby-3e8706523b1282078f5acfc7b4ee7d013bf5b78f.zip |
* configure.in: a patch to build on GNU/kOpenSolaris from Robert
Millan at [ruby-core:21888].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Thu Feb 12 16:50:27 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in: a patch to build on GNU/kOpenSolaris from Rober + Millan at [ruby-core:21888]. + Thu Feb 12 15:28:04 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * iseq.c (simple_default_value): allow plain strings as default diff --git a/configure.in b/configure.in index 958f76804..5c5ce548c 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' ;; |