blob: 2e3156880efc656f6df3dc65e66ae46c088da926 [file] [log] [blame]
Brad Bishop64c979e2019-11-04 13:55:29 -05001From a6e12b25a54d112c899b70c89c0bec9c5e5ebf3c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Mon, 30 Sep 2019 16:57:01 +0100
4Subject: [PATCH 1/3] extmk: fix cross-compilation of external gems
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Note that I (André) didn't actually write this patch, I
10only updated it so that git-am works.
11
12Upstream-Status: Pending
13Signed-off-by: André Draszik <andre.draszik@jci.com>
14---
15 ext/extmk.rb | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/ext/extmk.rb b/ext/extmk.rb
19index 1389dc4117..e4d923d7a7 100755
20--- a/ext/extmk.rb
21+++ b/ext/extmk.rb
22@@ -413,8 +413,8 @@ def $mflags.defined?(var)
23 end
24 $ruby = [$ruby]
25 $ruby << "-I'$(topdir)'"
26+$ruby << "-I'$(top_srcdir)/lib'"
27 unless CROSS_COMPILING
28- $ruby << "-I'$(top_srcdir)/lib'"
29 $ruby << "-I'$(extout)/$(arch)'" << "-I'$(extout)/common'" if $extout
30 ENV["RUBYLIB"] = "-"
31 end
32--
332.23.0.rc1
34