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