Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit cf1bc9910602fe46304b92e040c38fc101550d15 1 parent 9733063
Laurent Sansonetti authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  rakelib/builder/builder.rb
  2. +1 −1  vm.cpp
View
2  rakelib/builder/builder.rb
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.