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