diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-23 05:04:44 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-23 05:04:44 +0000 |
| commit | d817e55901367b60f112b321d797bafddb7e6e6a (patch) | |
| tree | a42157a35b37923e4e3ef2caa349d4850270ca02 | |
| parent | e83753fcd8c5c2ef8f091daf83ee5b59be5e85a3 (diff) | |
* 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
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | lib/mkmf.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Wed Apr 23 14:00:05 2008 Akinori MUSHA <knu@iDaemons.org> + + * 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. + Wed Apr 23 11:49:54 2008 Akinori MUSHA <knu@iDaemons.org> * lib/set.rb (Set#each, SortedSet#each, TC_Set#test_each): Return 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) |
