[前][次][番号順一覧][スレッド一覧]

ruby-changes:10239

From: matz <ko1@a...>
Date: Tue, 27 Jan 2009 03:28:28 +0900 (JST)
Subject: [ruby-changes:10239] Ruby:r21783 (trunk): * lib/mkmf.rb (create_makefile): should point correct path to

matz	2009-01-27 03:27:58 +0900 (Tue, 27 Jan 2009)

  New Revision: 21783

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21783

  Log:
    * lib/mkmf.rb (create_makefile): should point correct path to
      ruby.h and defines.h.   [ruby-core:21570]

  Modified files:
    trunk/ChangeLog
    trunk/lib/mkmf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21782)
+++ ChangeLog	(revision 21783)
@@ -1,3 +1,8 @@
+Tue Jan 27 03:23:43 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* lib/mkmf.rb (create_makefile): should point correct path to
+	  ruby.h and defines.h.   [ruby-core:21570]
+
 Mon Jan 26 16:00:40 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* array.c (rb_ary_aset): fixed arguments evaluation order.
Index: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 21782)
+++ lib/mkmf.rb	(revision 21783)
@@ -1784,7 +1784,7 @@
   if File.exist?(depend)
     mfile.print("###\n", *depend_rules(File.read(depend)))
   else
-    headers = %w[ruby.h defines.h]
+    headers = %w[$(hdrdir)/ruby.h $(hdrdir)/ruby/defines.h]
     if RULE_SUBST
       headers.each {|h| h.sub!(/.*/, &RULE_SUBST.method(:%))}
     end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]