c03704
From 346e147ba6480839b87046e9a9efab0bf6ed3660 Mon Sep 17 00:00:00 2001
c03704
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
c03704
Date: Wed, 10 Aug 2016 17:35:48 +0200
c03704
Subject: [PATCH] Rely on ldd to detect glibc.
c03704
c03704
This is just workaround, since we know we are quite sure this will be successful
c03704
on Red Hat platforms.
c03704
c03704
This workaround rhbz#1361037
c03704
---
c03704
 test/fiddle/helper.rb |    3 +++
c03704
 1 file changed, 3 insertions(+)
c03704
c03704
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
c03704
index 1da3d93..65148a1 100644
c03704
--- a/test/fiddle/helper.rb
c03704
+++ b/test/fiddle/helper.rb
c03704
@@ -139,6 +139,9 @@
c03704
   libc_so = libm_so = "/usr/lib/libSystem.B.dylib"
c03704
 end
c03704
 
c03704
+# Just ignore the heuristic, because it is not reliable on all platforms.
c03704
+libc_so = libm_so = nil
c03704
+
c03704
 if !libc_so || !libm_so
c03704
   ruby = EnvUtil.rubybin
c03704
   # When the ruby binary is 32-bit and the host is 64-bit,
c03704
-- 
c03704
2.9.2
c03704