Permalink
Browse files

fix a bug in the build system when some header files would not be loc…

…ated (patch by kouji at takao7.net)

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5305 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent 9733063 commit cf1bc9910602fe46304b92e040c38fc101550d15 @lrz lrz committed Mar 24, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 rakelib/builder/builder.rb
  2. +1 −1 vm.cpp
@@ -146,7 +146,7 @@ def header_path(hdr)
def locate_headers(cont, src)
txt = File.read(src)
- txt.scan(/#include\s+\"([^"]+)\"/).flatten.each do |header|
+ txt.scan(/#\s*include\s+\"([^"]+)\"/).flatten.each do |header|
p = header_path(header)
if p and !cont.include?(p)
cont << p
View
2 vm.cpp
@@ -4914,7 +4914,7 @@ class_has_custom_resolver(Class klass)
#endif
#if !defined(MACRUBY_STATIC)
-# include "./.objs/kernel_data.c"
+# include ".objs/kernel_data.c"
#endif
extern "C"

0 comments on commit cf1bc99

Please sign in to comment.