848e9dff50
OK jcs@, landry@, jasper@, sthen@
19 lines
585 B
Plaintext
19 lines
585 B
Plaintext
$OpenBSD: patch-configure_rb,v 1.1 2010/09/23 22:21:03 jeremy Exp $
|
|
--- configure.rb.orig Mon May 22 15:23:36 2006
|
|
+++ configure.rb Mon Sep 13 11:27:45 2010
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env ruby
|
|
+#!/usr/bin/env ruby18
|
|
|
|
# Generated automatically using autoconf.rb version 0.2.4
|
|
|
|
@@ -320,7 +320,7 @@ if $LDFLAGS.to_s.empty? && /mswin32/ =~ RUBY_PLATFORM
|
|
$LDFLAGS = "-link -incremental:no -pdb:none"
|
|
end
|
|
$LIBS = CONFIG["LIBS"]
|
|
-$XLDFLAGS = CONFIG["XLDFLAGS"]
|
|
+$XLDFLAGS = CONFIG["LDFLAGS"]
|
|
$XLDFLAGS.gsub!(/-L\./, "")
|
|
if /mswin32/ !~ RUBY_PLATFORM
|
|
$XLDFLAGS += " -L$(libdir)"
|