luaposix: adjust with glibc and libcrypt-compat

glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
This commit is contained in:
Konstantin Demin
2025-07-04 10:51:40 +03:00
committed by Josef Schlehofer
parent 579ddaf998
commit 92c5dc80c8

View File

@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luaposix
PKG_VERSION:=36.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://codeload.github.com/$(PKG_NAME)/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -26,7 +26,7 @@ define Package/luaposix
CATEGORY:=Languages
TITLE:=POSIX binding for LuaJIT, Lua 5.1, 5.2 and 5.3
URL:=https://github.com/luaposix/luaposix
DEPENDS:=+lua +lua-bit32
DEPENDS:= +USE_GLIBC:libcrypt-compat +lua +lua-bit32
endef
define Package/luaposix/description