Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 1 | From a6e12b25a54d112c899b70c89c0bec9c5e5ebf3c Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
| 3 | Date: Mon, 30 Sep 2019 16:57:01 +0100 |
| 4 | Subject: [PATCH 1/3] extmk: fix cross-compilation of external gems |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | Note that I (André) didn't actually write this patch, I |
| 10 | only updated it so that git-am works. |
| 11 | |
| 12 | Upstream-Status: Pending |
| 13 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
| 14 | --- |
| 15 | ext/extmk.rb | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/ext/extmk.rb b/ext/extmk.rb |
| 19 | index 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 | -- |
| 33 | 2.23.0.rc1 |
| 34 | |