Files
poky/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
Alexander Kanavin 6aee2f029a ruby: update 3.3.6 -> 3.4.1
License-update: formatting

Exclude aclocal, as aclocal.m4 is hand-maintained
(similar to recent tweaks elsewhere in core).

Find rbconfig.rb directly in ${D}, as grepping ruby's
internal file produces bogus results now.

(From OE-Core rev: f395c84d460acc44c633a6819efac68ca7829e6c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00

32 lines
952 B
Diff

From 03700ec256789e02de20b58bca080c6fef592336 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] 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 8b6b365..3048f75 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -434,8 +434,8 @@ else
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