File: ruby2.0-multiarch

package info (click to toggle)
ruby-inline 3.12.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 408 kB
  • sloc: ruby: 1,504; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 767 bytes parent folder | download | duplicates (2)
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),