1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Author: Christian Hofstaedtler <zeha@debian.org>
Description: use proper multiarch location for Ruby 2.0
Last-Update: 2014-01-15
Index: ruby-inline/lib/inline.rb
===================================================================
--- ruby-inline.orig/lib/inline.rb
+++ ruby-inline/lib/inline.rb
@@ -597,6 +597,7 @@ VALUE #{method}_equals(VALUE value) {
(RbConfig::CONFIG['LDFLAGS'] if sane),
'-I', hdrdir,
config_hdrdir,
+ (['-I', RbConfig::CONFIG['rubyarchhdrdir']] if RUBY_VERSION >= '2'),
'-I', RbConfig::CONFIG['includedir'],
("-L#{RbConfig::CONFIG['libdir']}" if sane),
(['-o', so_name.inspect] if sane),
|