mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
lua: make it easier to detect host-built Lua
Install pkg-config file also for host-build, clean up Lua symlinks. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
5e8eaac8c3
commit
315f52e0f3
@ -134,8 +134,12 @@ define Host/Install
|
|||||||
INSTALL_TOP="$(STAGING_DIR_HOSTPKG)" \
|
INSTALL_TOP="$(STAGING_DIR_HOSTPKG)" \
|
||||||
install
|
install
|
||||||
|
|
||||||
$(LN) $(STAGING_DIR_HOSTPKG)/bin/lua5.1 $(STAGING_DIR_HOSTPKG)/bin/lua
|
$(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/lib/pkgconfig
|
||||||
$(LN) $(STAGING_DIR_HOSTPKG)/bin/luac5.1 $(STAGING_DIR_HOSTPKG)/bin/luac
|
$(CP) $(HOST_BUILD_DIR)/etc/lua.pc $(STAGING_DIR_HOSTPKG)/lib/pkgconfig/lua5.1.pc
|
||||||
|
|
||||||
|
$(LN) lua5.1 $(STAGING_DIR_HOSTPKG)/bin/lua
|
||||||
|
$(LN) luac5.1 $(STAGING_DIR_HOSTPKG)/bin/luac
|
||||||
|
$(LN) lua5.1.pc $(STAGING_DIR_HOSTPKG)/lib/pkgconfig/lua.pc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user