diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-05 14:10:13 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-05 14:10:13 +0000 |
commit | 1b0ff275e0ec9de339daf39dafa65e5170637e19 (patch) | |
tree | bbe0c817216b73c1e921d3f40561c74b54802a2e | |
parent | 2bd1e021cee59142057d21a2d42cf11bb6edad8a (diff) |
* backport r32845 from trunk.
* configure.in: when Solaris cc, use $(CC) to link shared libs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Fri Aug 5 23:08:39 2011 Naohisa Goto <ngotogenome@gmail.com> + + * backport r32845 from trunk. + + * configure.in: when Solaris cc, use $(CC) to link shared libs. + Fri Aug 5 22:16:20 2011 Naohisa Goto <ngotogenome@gmail.com> * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian. diff --git a/configure.in b/configure.in index 9b800bd602..e742e74ae3 100644 --- a/configure.in +++ b/configure.in @@ -2026,7 +2026,7 @@ if test "$with_dln_a_out" != yes; then LDFLAGS="$LDFLAGS -Wl,-E" fi else - : ${LDSHARED='ld -G'} + : ${LDSHARED='$(CC) -G'} fi rb_cv_dlopen=yes], [sunos*], [ : ${LDSHARED='ld -assert nodefinitions'} |