Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37420706
en ru br
ALT Linux repos
S:3.1.2-alt2.1
5.0: 1.8.7-alt7
4.1: 1.8.7-alt0.M41.5
4.0: 1.8.6-alt2.M40.2
3.0: 1.8.2-alt7

Group :: Development/Ruby
RPM: ruby

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ruby-1.9.2-alt-libruby-search-path-in-mkmf-tests.patch
Download


diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 1b5b89e..8c19b07 100644
--- a/test/mkmf/base.rb
+++ b/test/mkmf/base.rb
@@ -6,6 +6,7 @@ $extout = '$(topdir)/'+RbConfig::CONFIG["EXTOUT"]
 RbConfig::CONFIG['topdir'] = CONFIG['topdir'] = File.expand_path(CONFIG['topdir'])
 RbConfig::CONFIG["extout"] = CONFIG["extout"] = $extout
 $INCFLAGS << " -I."
+$LDFLAGS << " -L$(topdir)"
 $extout_prefix = "$(extout)$(target_prefix)/"
 
 class TestMkmf < Test::Unit::TestCase
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin