* [PATCH] test/fiddle/helper: remove special case for x86_64-linux
@ 2017-01-11 23:14 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2017-01-11 23:14 UTC (permalink / raw)
To: spew
RUBY_PLATFORM is "x86_64-linux" for me, despite using a
32-bit (x86) Ruby on a 64-bit Linux kernel. I also have
a /lib64 directory because I have multi-arch support in
userspace. So, fall back to loading based in the size of
a packed "unsigned long" type.
---
test/fiddle/helper.rb | 3 ---
1 file changed, 3 deletions(-)
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
index 1da3d93819..461f1878a8 100644
--- a/test/fiddle/helper.rb
+++ b/test/fiddle/helper.rb
@@ -10,9 +10,6 @@
when /cygwin/
libc_so = "cygwin1.dll"
libm_so = "cygwin1.dll"
-when /x86_64-linux/
- libc_so = "/lib64/libc.so.6"
- libm_so = "/lib64/libm.so.6"
when /linux/
libdir = '/lib'
case [0].pack('L!').size
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-11 23:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-11 23:14 [PATCH] test/fiddle/helper: remove special case for x86_64-linux Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).