Bug #1746: LDSHARED set to 'ld -G' on Solaris doesn't work with Sun studio
http://redmine.ruby-lang.org/issues/show/1746

Author: Venkateswara Parimi
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-solaris2.10]

<<fix configure.in diff>>
@@ -1161,7 +1161,7 @@
                               LDFLAGS="$LDFLAGS -Wl,-E"
                           fi
                        else
-                          : ${LDSHARED='ld -G'}
+                          : ${LDSHARED='$(CC) -G'}
                        fi
                        rb_cv_dlopen=yes;;
        sunos*)         : ${LDSHARED='ld -assert nodefinitions'}
<</>>


----------------------------------------
http://redmine.ruby-lang.org