Add ruby
authorrmh <rmh@thorin.(none)>
Fri, 6 Feb 2009 12:37:23 +0000 (13:37 +0100)
committerrmh <rmh@thorin.(none)>
Fri, 6 Feb 2009 12:37:23 +0000 (13:37 +0100)
ruby.diff [new file with mode: 0644]

diff --git a/ruby.diff b/ruby.diff
new file mode 100644 (file)
index 0000000..e6904c2
--- /dev/null
+++ b/ruby.diff
@@ -0,0 +1,43 @@
+
+http://redmine.ruby-lang.org/issues/show/1120
+
+Index: configure.in
+===================================================================
+--- configure.in       (revision 22091)
++++ configure.in       (working copy)
+@@ -1294,7 +1294,7 @@
+ fi
+ case "$target_os" in
+-linux* | gnu* | k*bsd*-gnu | bsdi*)
++linux* | gnu* | k*bsd*-gnu | bsdi* | kopensolaris*-gnu)
+     if test "$rb_cv_binary_elf" = no; then
+       with_dln_a_out=yes
+     else
+@@ -1381,7 +1381,7 @@
+                       *shlicc*)       : ${LDSHARED="$CC -r"}
+                                       rb_cv_dlopen=yes ;;
+                       esac ;;
+-      linux* | gnu* | k*bsd*-gnu | netbsd* | bsdi*)
++      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"
+@@ -1572,7 +1572,7 @@
+ fi
+ case "$target_os" in
+-  linux* | gnu* | k*bsd*-gnu)
++  linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
+       STRIP='strip -S -x';;
+   nextstep*)
+       STRIP='strip -A -n';;
+@@ -1722,7 +1722,7 @@
+     sunos4*)
+       LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
+       ;;
+-    linux* | gnu* | k*bsd*-gnu | atheos*)
++    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'
+       ;;