gentoo-full-overlay/dev-ruby/eruby/files/eruby-1.0.5-missing-xldflags.patch

12 lines
368 B
Diff
Raw Normal View History

--- configure.rb.~1~ 2003-02-10 04:18:10.000000000 +0100
+++ configure.rb 2009-06-13 15:19:30.866827732 +0200
@@ -306,7 +306,7 @@
$LDFLAGS = "-link -incremental:no -pdb:none"
end
$LIBS = CONFIG["LIBS"]
-$XLDFLAGS = CONFIG["XLDFLAGS"]
+$XLDFLAGS = CONFIG["XLDFLAGS"] || ""
$XLDFLAGS.gsub!(/-L\./, "")
if /mswin32/ !~ RUBY_PLATFORM
$XLDFLAGS += " -L$(libdir)"