mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
lua*: restore version in module paths
(like in upstream) Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
443f8c1f4d
commit
ccd68a513f
@@ -11,7 +11,7 @@ LUAEXPAT_LICENSE = MIT
|
||||
|
||||
|
||||
LUAEXPAT_MFLAGS += LUA_VERSION_NUM=501
|
||||
LUAEXPAT_MFLAGS += LUA_INC=$(STAGING_DIR)/usr/include/lua
|
||||
LUAEXPAT_MFLAGS += LUA_INC=$(STAGING_DIR)/usr/include
|
||||
LUAEXPAT_MFLAGS += EXPAT_INC=$(STAGING_DIR)/usr/include
|
||||
LUAEXPAT_MFLAGS += LIBNAME=lxp.so
|
||||
LUAEXPAT_MFLAGS += LIB_OPTION="-shared -fPIC $(TARGET_CFLAGS)"
|
||||
@@ -23,8 +23,8 @@ define LUAEXPAT_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define LUAEXPAT_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D $(@D)/src/lxp.so $(TARGET_DIR)/usr/lib/lua/lxp.so
|
||||
$(INSTALL) -D -m 0644 $(@D)/src/lxp/lom.lua $(TARGET_DIR)/usr/share/lua/lxp/lom.lua
|
||||
$(INSTALL) -D $(@D)/src/lxp.so $(TARGET_DIR)/usr/lib/lua/5.1/lxp.so
|
||||
$(INSTALL) -D -m 0644 $(@D)/src/lxp/lom.lua $(TARGET_DIR)/usr/share/lua/5.1/lxp/lom.lua
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user