File: ruby2.0-multiarch

package info (click to toggle)
ruby-inline 3.12.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 396 kB
  • ctags: 504
  • sloc: ruby: 1,502; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 839 bytes parent folder | download
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	2014-01-15 18:19:01.959718169 +0100
+++ ruby-inline/lib/inline.rb	2014-01-15 18:19:11.483673062 +0100
@@ -595,6 +595,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),