summaryrefslogtreecommitdiff
path: root/textproc/eruby/files/patch-configure.rb
blob: 19eb9d262bd463f691d81d98a579358bf8e788e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- configure.rb.orig	2009-02-14 00:50:10.000000000 +0300
+++ configure.rb	2009-02-14 00:50:18.000000000 +0300
@@ -307,6 +307,7 @@
 end
 $LIBS = CONFIG["LIBS"]
 $XLDFLAGS = CONFIG["XLDFLAGS"]
+$XLDFLAGS="" if $XLDFLAGS.nil?
 $XLDFLAGS.gsub!(/-L\./, "")
 if /mswin32/ !~ RUBY_PLATFORM
   $XLDFLAGS += " -L$(libdir)"