Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-inline/files: ruby-inline-3.8.4-ldflags.patch
Date: Sat, 28 Aug 2010 13:15:53
Message-Id: 20100828131541.0DD4B20051@flycatcher.gentoo.org
1 graaff 10/08/28 13:15:41
2
3 Added: ruby-inline-3.8.4-ldflags.patch
4 Log:
5 Respect ruby's LDFLAGS and explicitly link against the right shared library. Fixes bug 334373.
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-ruby/ruby-inline/files/ruby-inline-3.8.4-ldflags.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-inline/files/ruby-inline-3.8.4-ldflags.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-inline/files/ruby-inline-3.8.4-ldflags.patch?rev=1.1&content-type=text/plain
13
14 Index: ruby-inline-3.8.4-ldflags.patch
15 ===================================================================
16 --- lib/inline.rb.~1~ 2010-08-28 14:49:06.866480357 +0200
17 +++ lib/inline.rb 2010-08-28 15:05:14.553732182 +0200
18 @@ -577,6 +577,8 @@
19 "-L#{Config::CONFIG['libdir']}",
20 '-o', so_name.inspect,
21 File.expand_path(src_name).inspect,
22 + Config::CONFIG['LDFLAGS'],
23 + Config::CONFIG['LIBRUBYARG_SHARED'],
24 libs,
25 crap_for_windoze ].join(' ')