1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_H

only if extconf.h is created.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-07-21 08:07:37 +00:00
parent c0e4f24ef6
commit bce1c4b27d
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,7 @@
Sat Jul 21 15:39:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
Sat Jul 21 17:07:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_H
only if extconf.h is created.
* {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.

View file

@ -1406,6 +1406,7 @@ site-install-rb: install-rb
unless suffixes.empty?
mfile.print ".SUFFIXES: .", suffixes.uniq.join(" ."), "\n\n"
end
mfile.print "$(OBJS): $(RUBY_EXTCONF_H)\n\n" if $extconf_h
mfile.print depout
else
headers = %w[ruby.h defines.h]