From ad8dbab8887bccb5dc997071d5d11d3d36dd62b4 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 23 Apr 2002 15:43:26 +0000 Subject: * ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead of `$(srcdir)/' when including depend file. * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/extmk.rb.in') diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index ed6a49fb7c..9f587649ad 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -586,7 +586,7 @@ $(DLLIB): $(OBJS) mfile.printf "###\n" while line = dfile.gets() line.gsub!(/\.o\b/, ".#{$OBJEXT}") - line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1$(srcdir)/\2') if /nmake/i =~ $make + line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make mfile.printf "%s", line.gsub('\$\(hdrdir\)/config.h', '$(topdir)/config.h') end dfile.close -- cgit v1.2.3