libapr: adjust with glibc and libcrypt-compat
authorKonstantin Demin <[email protected]>
Fri, 4 Jul 2025 07:51:41 +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]>
libs/apr/Makefile

index 20ec0647abe2c2159060209fadcb198146304328..33e7fa9833d801e83114ed072a1a042335f61907 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=apr
 PKG_VERSION:=1.7.5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@APACHE/apr/
@@ -33,7 +33,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/libapr
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=+libpthread +librt +libuuid
+  DEPENDS:= +USE_GLIBC:libcrypt-compat +libpthread +librt +libuuid
   TITLE:=Apache Portable Runtime Library
   URL:=https://apr.apache.org/
 endef