File 0001-tcl-no-stupid-rpaths.patch of Package ruby2.3.openSUSE_Leap_42.2_Update
From 4b3d7a777fee4250e3f51f93476072256626d86e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcus=20R=C3=BCckert?= <mrueckert@suse.de>
Date: Wed, 8 Mar 2017 17:56:36 +0100
Subject: [PATCH 1/4] tcl no stupid rpaths
---
ext/tk/extconf.rb | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb
index c4ea4067bd..5c35dde04d 100644
--- a/ext/tk/extconf.rb
+++ b/ext/tk/extconf.rb
@@ -225,9 +225,7 @@ def get_shlib_path_head
else
[
- '/opt', '/pkg', '/share',
- '/usr/local/opt', '/usr/local/pkg', '/usr/local/share', '/usr/local',
- '/usr/opt', '/usr/pkg', '/usr/share', '/usr/contrib', '/usr'
+ '/usr'
].each{|dir|
next unless File.directory?(dir)
--
2.12.0