* [Buildroot] [PATCH 1/1] package/luvi: fix build
@ 2023-09-24 14:50 Fabrice Fontaine
2023-09-30 7:59 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-09-24 14:50 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
pkg-config --variable=version luajit returns 2.1.1693350652 since bump
of luajit in commit c9dcd9e459d6e0a955129ab42916d4c1140bdc3d resulting
in the following build failure:
luajitluajit:: unknown luaJIT command or jit.* modules not installedunknown luaJIT command or jit.* modules not installed
Fixes:
- http://autobuild.buildroot.org/results/d1cac93407122bb5a6e2c13f49b542e1db619fb5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/luvi/luvi.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/luvi/luvi.mk b/package/luvi/luvi.mk
index 4a8072dee5..a8e645fab3 100644
--- a/package/luvi/luvi.mk
+++ b/package/luvi/luvi.mk
@@ -32,14 +32,15 @@ endif
# LUAJIT_VERSION and the luajit installation path may not use the
# same value. Use the value from luajit.pc file.
-LUVI_LUAJIT_VERSION = `$(PKG_CONFIG_HOST_BINARY) --variable=version luajit`
+LUVI_LUAJIT_MAJVER = `$(PKG_CONFIG_HOST_BINARY) --variable=majver luajit`
+LUVI_LUAJIT_MINVER = `$(PKG_CONFIG_HOST_BINARY) --variable=minver luajit`
# Bundled lua bindings have to be linked statically into the luvi executable
LUVI_CONF_OPTS = \
-DBUILD_SHARED_LIBS=OFF \
-DWithSharedLibluv=ON \
-DTARGET_ARCH=$(LUVI_TARGET_ARCH) \
- -DLUA_PATH=$(HOST_DIR)/share/luajit-$(LUVI_LUAJIT_VERSION)/?.lua
+ -DLUA_PATH=$(HOST_DIR)/share/luajit-$(LUVI_LUAJIT_MAJVER).$(LUVI_LUAJIT_MINVER)/?.lua
# Add "rex" module (PCRE via bundled lrexlib)
ifeq ($(BR2_PACKAGE_PCRE),y)
--
2.40.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/luvi: fix build
2023-09-24 14:50 [Buildroot] [PATCH 1/1] package/luvi: fix build Fabrice Fontaine
@ 2023-09-30 7:59 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2023-09-30 7:59 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> pkg-config --variable=version luajit returns 2.1.1693350652 since bump
> of luajit in commit c9dcd9e459d6e0a955129ab42916d4c1140bdc3d resulting
> in the following build failure:
> luajitluajit:: unknown luaJIT command or jit.* modules not
> installedunknown luaJIT command or jit.* modules not installed
> Fixes:
> - http://autobuild.buildroot.org/results/d1cac93407122bb5a6e2c13f49b542e1db619fb5
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-30 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-24 14:50 [Buildroot] [PATCH 1/1] package/luvi: fix build Fabrice Fontaine
2023-09-30 7:59 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox