f3ba7fefc2
OK jcs@, landry@, jasper@, sthen@
28 lines
920 B
Plaintext
28 lines
920 B
Plaintext
$OpenBSD: patch-configure_rb,v 1.2 2010/09/23 22:14:09 jeremy Exp $
|
|
--- configure.rb.orig Sun Feb 9 19:18:10 2003
|
|
+++ configure.rb Wed Sep 15 18:04:56 2010
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env ruby
|
|
+#!/usr/bin/env ruby18
|
|
|
|
# Generated automatically using autoconf.rb version 0.2.4
|
|
|
|
@@ -306,7 +306,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)"
|
|
@@ -443,7 +443,7 @@ $LIBERUBY_A = "liberuby.a"
|
|
$LIBERUBY = "${LIBERUBY_A}"
|
|
$LIBERUBYARG="$(LIBERUBY_A)"
|
|
|
|
-$LIBERUBY_SO = "liberuby.#{CONFIG['DLEXT']}.$(MAJOR).$(MINOR).$(TEENY)"
|
|
+$LIBERUBY_SO = "liberuby.#{CONFIG['DLEXT']}.$(LIBeruby_MAJOR).$(LIBeruby_MINOR)"
|
|
$LIBERUBY_ALIASES = "liberuby.#{CONFIG['DLEXT']}"
|
|
|
|
if $ENABLE_SHARED
|