projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c571ac4
)
scripts/ext-toolchain: adjust with recent glibc
author
Konstantin Demin
<rockdrilla@gmail.com>
Fri, 4 Jul 2025 08:03:14 +0000
(11:03 +0300)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 12 Jul 2025 21:38:19 +0000
(23:38 +0200)
glibc 2.39 has removed libcrypt completely.
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>
scripts/ext-toolchain.sh
patch
|
blob
|
history
diff --git
a/scripts/ext-toolchain.sh
b/scripts/ext-toolchain.sh
index e49c011118b7ccb834cf87e2b9067ab2476433bb..2794d2e8eff40bb03ad331c7096214c8235fed9e 100755
(executable)
--- a/
scripts/ext-toolchain.sh
+++ b/
scripts/ext-toolchain.sh
@@
-154,6
+154,11
@@
test_feature() {
find_libs() {
local spec="$(echo "$LIB_SPECS" | sed -ne "s#^[[:space:]]*$1:##ip")"
+ # glibc doesn't have libcrypt since 2.39
+ if [ "$LIBC_TYPE" = "glibc" ]; then
+ spec=$(printf '%s' "${spec}" | sed 's/,crypt,//')
+ fi
+
if [ -n "$spec" ] && probe_cpp; then
local libdir libdirs
for libdir in $(