Permalink
Browse files

Add ruby include dir to CFLAGS

Did not pick up ruby 2.0's include dir automatically
  • Loading branch information...
1 parent a81d38e commit 5e8806288a09349ac70025a40d671090cbbd4d2d @guns committed Mar 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -7,7 +7,7 @@
task :default => :build
task :env do
- ENV['CFLAGS' ] ||= ''
+ ENV['CFLAGS' ] ||= ' -I%s ' % RbConfig::CONFIG['rubyhdrdir']
ENV['LDFLAGS'] ||= ''
if RUBY_PLATFORM =~ /darwin/i

0 comments on commit 5e88062

Please sign in to comment.