ruby-changes:30998
From: kosaki <ko1@a...>
Date: Sat, 28 Sep 2013 14:43:58 +0900 (JST)
Subject: [ruby-changes:30998] kosaki:r43077 (trunk): * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd
kosaki 2013-09-28 14:43:50 +0900 (Sat, 28 Sep 2013) New Revision: 43077 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43077 Log: * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd correctly. Patch by Gabriele Giacone (1o5g4r8o@g...). * test/fiddle/helper.rb: ditto. Modified files: trunk/ChangeLog trunk/test/dl/test_base.rb trunk/test/fiddle/helper.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 43076) +++ ChangeLog (revision 43077) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Sep 28 14:30:29 2013 KOSAKI Motohiro <kosaki.motohiro@g...> + + * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd + correctly. Patch by Gabriele Giacone (1o5g4r8o@g...). + * test/fiddle/helper.rb: ditto. + Sat Sep 28 00:19:41 2013 Shugo Maeda <shugo@r...> * ext/curses/extconf.rb: check the size of chtype. Index: test/fiddle/helper.rb =================================================================== --- test/fiddle/helper.rb (revision 43076) +++ test/fiddle/helper.rb (revision 43077) @@ -34,6 +34,9 @@ when /darwin/ https://github.com/ruby/ruby/blob/trunk/test/fiddle/helper.rb#L34 when /kfreebsd/ libc_so = "/lib/libc.so.0.1" libm_so = "/lib/libm.so.1" +when /gnu/ #GNU/Hurd + libc_so = "/lib/libc.so.0.3" + libm_so = "/lib/libm.so.6" when /mirbsd/ libc_so = "/usr/lib/libc.so.41.10" libm_so = "/usr/lib/libm.so.7.0" Index: test/dl/test_base.rb =================================================================== --- test/dl/test_base.rb (revision 43076) +++ test/dl/test_base.rb (revision 43077) @@ -33,6 +33,9 @@ when /darwin/ https://github.com/ruby/ruby/blob/trunk/test/dl/test_base.rb#L33 when /kfreebsd/ libc_so = "/lib/libc.so.0.1" libm_so = "/lib/libm.so.1" +when /gnu/ #GNU/Hurd + libc_so = "/lib/libc.so.0.3" + libm_so = "/lib/libm.so.6" when /mirbsd/ libc_so = "/usr/lib/libc.so.41.10" libm_so = "/usr/lib/libm.so.7.0" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/