From d817e55901367b60f112b321d797bafddb7e6e6a Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 23 Apr 2008 05:04:44 +0000 Subject: * lib/mkmf.rb (create_makefile): Add a missing dependency on the target directory for each .rb file. This will hopefully fix parallel make (-jN). Tested on FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/mkmf.rb b/lib/mkmf.rb index ea4d680753..c9777fcc7b 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1519,7 +1519,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} files.each do |f| dest = "#{dir}/#{File.basename(f)}" mfile.print("install-rb#{sfx}: #{dest}\n") - mfile.print("#{dest}: #{f}\n\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) ") + mfile.print("#{dest}: #{f} #{dir}\n\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) ") sep = config_string('BUILD_FILE_SEPARATOR') if sep f = f.gsub("/", sep) -- cgit v1.2.3