diff options
| -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) |
