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 /configure.in | |
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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
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'} |