1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: support -h for solaris linker when gcc not used

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2010-11-08 03:19:14 +00:00
parent 7dd7ce0ff7
commit 294070d86a
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Nov 8 12:16:39 2010 Ben Walton <bwalton@artsci.utoronto.ca>
* configure.in: support -h for solaris linker when gcc not used
Mon Nov 8 11:47:39 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (finish_overlapped_socket): refactoring.

View file

@ -2242,6 +2242,8 @@ AS_CASE("$enable_shared", [yes], [
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY) lib$(RUBY_SO_NAME).so'
if test "$GCC" = yes; then
LIBRUBY_DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(@F)'
else
LIBRUBY_DLDFLAGS="$DLDFLAGS "'-h $(@F)'
fi
XLDFLAGS="$XLDFLAGS "'-R${libdir}'
],