luaposix: adjust with glibc and libcrypt-compat
authorKonstantin Demin <[email protected]>
Fri, 4 Jul 2025 07:51:40 +0000 (10:51 +0300)
committerJosef Schlehofer <[email protected]>
Mon, 14 Jul 2025 08:40:15 +0000 (10:40 +0200)
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <[email protected]>
lang/luaposix/Makefile

index fd3d2cd9059540940b2d7e201439a117dfd244b7..c49d2056e17785b967b0158f16d293b20167036c 100644 (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