Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add ruby include dir to CFLAGS

Did not pick up ruby 2.0's include dir automatically
  • Loading branch information...
commit 5e8806288a09349ac70025a40d671090cbbd4d2d 1 parent a81d38e
@guns authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
View
2  Rakefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.