]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
rpcd: adjust with glibc and libcrypt-compat
authorKonstantin Demin <rockdrilla@gmail.com>
Fri, 4 Jul 2025 08:03:15 +0000 (11:03 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Jul 2025 21:38:19 +0000 (23:38 +0200)
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/system/rpcd/Makefile

index 9bd196e7bae4bb9bd4845f727e2a4a09fa63458d..c63682cbd0800fe4f21b4fc9216f70b83c06c1cb 100644 (file)
@@ -39,7 +39,7 @@ endef
 
 define Package/rpcd
   $(Package/rpcd/default)
-  DEPENDS+= +libuci +libblobmsg-json +libjson-c
+  DEPENDS+= +USE_GLIBC:libcrypt-compat +libuci +libblobmsg-json +libjson-c
 endef
 
 define Package/rpcd/description