Bug #1991: ruby should use twolevel namespace on OS X
http://redmine.ruby-lang.org/issues/show/1991

Author: Michal Suchanek
Status: Open, Priority: Normal
Category: build
ruby -v: ruby 1.8.6 (2009-08-04 patchlevel 383) [i686-darwin9.8.0]

Details:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/344658

Note: the patch is taken from a package that changes more than the namespace

- change namespace to twolevel 
- add -Wl in front of linker flags to allow building extensions with libtool
- change the library name from libruby to libruby1.8 to prevent clashes with libruby1.9 (or something like that)

libruby is not explicitly linked twolevel because it should be the default on recent OS X and it does not need other special flags to work with twolevel namespace.


----------------------------------------
http://redmine.ruby-lang.org