diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/mkmf.rb | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -Fri May 26 08:40:03 2006 nobuyoshi nakada <nobu@ruby-lang.org> +Fri May 26 09:05:11 2006 nobuyoshi nakada <nobu@ruby-lang.org> * ruby.h, lib/mkmf.rb (create_header): clear command line options for macros moved to extconf.h. @@ -11,6 +11,8 @@ Fri May 26 08:40:03 2006 nobuyoshi nakada <nobu@ruby-lang.org> * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added $(INCFLAGS). + * lib/mkmf.rb (configuration): add $defs unless extconf.h was created. + Thu May 25 01:52:07 2006 nobuyoshi nakada <nobu@ruby-lang.org> * lib/mkmf.rb (pkg_config): particular config commands support. diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 7ad7594c09..26c40ed58e 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -963,7 +963,7 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])} else sep = "" end - extconf_h = $extconf_h ? "-DRUBY_EXTCONF_H=\\\"$(RUBY_EXTCONF_H)\\\" " : "" + extconf_h = $extconf_h ? "-DRUBY_EXTCONF_H=\\\"$(RUBY_EXTCONF_H)\\\" " : $defs.join(" ")<<" " mk << %{ CC = #{CONFIG['CC']} CXX = #{CONFIG['CXX']} |