diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 08:37:13 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 08:37:13 +0000 |
| commit | 57b5d25421da191f2a937ca291acfd707a374184 (patch) | |
| tree | d1f3bceb3425de9c406d97fb7f8e366e42985c66 | |
| parent | ebbf66b2e7a1ac964fac439f051cc48d2685e1d8 (diff) | |
| download | ruby-57b5d25421da191f2a937ca291acfd707a374184.tar.gz ruby-57b5d25421da191f2a937ca291acfd707a374184.tar.xz ruby-57b5d25421da191f2a937ca291acfd707a374184.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@14685 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 @@ +Tue Dec 25 17:32:04 2007 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. + Tue Dec 25 16:51:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 2038f5f4c..853f2f4da 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1511,7 +1511,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} for f in files 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) |
