mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (solaris): add '-shared' only for GNU ld.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f547c1150c
commit
a0bf3b3bb9
3 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Jan 25 17:48:43 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (solaris): add '-shared' only for GNU ld.
|
||||||
|
|
||||||
Fri Jan 25 17:16:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Fri Jan 25 17:16:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* class.c (rb_include_module): detect cyclic module inclusion.
|
* class.c (rb_include_module): detect cyclic module inclusion.
|
||||||
|
|
|
@ -586,8 +586,11 @@ if test "$with_dln_a_out" != yes; then
|
||||||
LDFLAGS="-Wl,-E"
|
LDFLAGS="-Wl,-E"
|
||||||
rb_cv_dlopen=yes;;
|
rb_cv_dlopen=yes;;
|
||||||
solaris*) if test "$GCC" = yes; then
|
solaris*) if test "$GCC" = yes; then
|
||||||
LDSHARED='$(CC) -Wl,-G -shared'
|
LDSHARED='$(CC) -Wl,-G'
|
||||||
`$CC --print-prog-name=ld` -v 2>&1 | grep "GNU ld" > /dev/null && LDFLAGS="-Wl,-E"
|
if `$CC --print-prog-name=ld` -v 2>&1 | grep "GNU ld" > /dev/null; then
|
||||||
|
LDFLAGS="-Wl,-E"
|
||||||
|
LDSHARED="$LDSHARED -shared"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
LDSHARED='ld -G'
|
LDSHARED='ld -G'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define RUBY_VERSION "1.7.2"
|
#define RUBY_VERSION "1.7.2"
|
||||||
#define RUBY_RELEASE_DATE "2002-01-23"
|
#define RUBY_RELEASE_DATE "2002-01-25"
|
||||||
#define RUBY_VERSION_CODE 172
|
#define RUBY_VERSION_CODE 172
|
||||||
#define RUBY_RELEASE_CODE 20020123
|
#define RUBY_RELEASE_CODE 20020125
|
||||||
|
|
Loading…
Add table
Reference in a new issue