Permalink
Browse files

fix building on 1.9.2

  • Loading branch information...
1 parent 122ceb3 commit c86ab9b16178938a15fa472fcde1ee37694cce22 Konstantin Shabanov committed with steveklabnik Nov 2, 2010
Showing with 16 additions and 16 deletions.
  1. +3 −3 Rakefile
  2. +1 −1 make/darwin/tasks.rb
  3. +1 −1 make/linux/tasks.rb
  4. +1 −1 make/mingw/env.rb
  5. +1 −1 make/mingw/tasks.rb
  6. +3 −3 rakefile_darwin.rb
  7. +3 −3 rakefile_linux.rb
  8. +3 −3 rakefile_mingw.rb
View
@@ -43,13 +43,13 @@ end
case RUBY_PLATFORM
when /mingw/
- require 'rakefile_mingw'
+ require File.expand_path('rakefile_mingw')
Builder = MakeMinGW
when /darwin/
- require 'rakefile_darwin'
+ require File.expand_path('rakefile_darwin')
Builder = MakeDarwin
when /linux/
- require 'rakefile_linux'
+ require File.expand_path('rakefile_linux')
Builder = MakeLinux
else
puts "Sorry, your platform [#{RUBY_PLATFORM}] is not supported..."
View
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
include FileUtils
View
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
include FileUtils
View
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
extend Make
EXT_RUBY = "../mingw"
View
@@ -1,4 +1,4 @@
-require 'make/make'
+require File.expand_path('make/make')
include FileUtils
View
@@ -1,6 +1,6 @@
-require 'make/rakefile_common'
-require 'make/darwin/env'
-require 'make/darwin/tasks'
+require File.expand_path('make/rakefile_common')
+require File.expand_path('make/darwin/env')
+require File.expand_path('make/darwin/tasks')
task :stub do
MakeDarwin.make_stub
View
@@ -1,3 +1,3 @@
-require 'make/rakefile_common'
-require 'make/linux/env'
-require 'make/linux/tasks'
+require File.expand_path('make/rakefile_common')
+require File.expand_path('make/linux/env')
+require File.expand_path('make/linux/tasks')
View
@@ -1,6 +1,6 @@
-require 'make/rakefile_common'
-require 'make/mingw/env'
-require 'make/mingw/tasks'
+require File.expand_path('make/rakefile_common')
+require File.expand_path('make/mingw/env')
+require File.expand_path('make/mingw/tasks')
rule ".o" => ".rc" do |t|
MakeMinGW.make_resource t

0 comments on commit c86ab9b

Please sign in to comment.