diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-04 11:36:50 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-04 11:36:50 +0000 |
commit | 3fb456953417cd85514968587c819b428b75b6b5 (patch) | |
tree | 823062195932de228f318774775f91ecb2424e7a | |
parent | 3abbda4f6ef4e2c314bb288b2a2b5cc0762ee652 (diff) | |
download | ruby-3fb456953417cd85514968587c819b428b75b6b5.tar.gz |
* configure.in: when Solaris cc, use $(CC) to link shared libs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Aug 4 20:29:41 2011 Naohisa Goto <ngotogenome@gmail.com> + + * configure.in: when Solaris cc, use $(CC) to link shared libs. + Thu Aug 4 20:19:11 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * error.c (report_bug): use a small message buffer instead of BUFSIZ. diff --git a/configure.in b/configure.in index 0236edb04e..7176fda353 100644 --- a/configure.in +++ b/configure.in @@ -2016,7 +2016,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'} |