luvi: fix build with LuaJIT 2.0.5
authorFrancois Perrad <fperrad@gmail.com>
Thu, 4 May 2017 20:29:00 +0000 (22:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 May 2017 20:39:18 +0000 (22:39 +0200)
Luvi got broken by the bump of LuaJIT from 2.0.4 to 2.0.5 due to a
hardcoded path.

Fixes:

 http://autobuild.buildroot.net/results/3eef12dbe07fb375e87b2b2898dcc5ef0c11e7a5/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/luvi/luvi.mk

index ade63f5fba87df02fdc3a5e35d2ce9acf0daf146..3b2094c4b9fc4d365c630df90303d91514e0a889 100644 (file)
@@ -33,7 +33,7 @@ LUVI_CONF_OPTS = \
        -DBUILD_SHARED_LIBS=OFF \
        -DWithSharedLibluv=ON \
        -DTARGET_ARCH=$(LUVI_TARGET_ARCH) \
-       -DLUA_PATH=$(HOST_DIR)/usr/share/luajit-2.0.4/?.lua
+       -DLUA_PATH=$(HOST_DIR)/usr/share/luajit-$(LUAJIT_VERSION)/?.lua
 
 # Add "rex" module (PCRE via bundled lrexlib)
 ifeq ($(BR2_PACKAGE_PCRE),y)