Skip to content

Commit 6856e33

Browse files
committed
fix: remove unreliable musl string check from build-static.sh
尝试运行 build-static.sh,发现没有输出 ✓ Binary contains musl libc,会不会有问题?
1 parent f7f5140 commit 6856e33

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

scripts/build-static.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,6 @@ else
184184
${TOOLCHAIN_PREFIX}-readelf -d "$BINARY" 2>/dev/null || ldd "$BINARY" 2>/dev/null || true
185185
fi
186186

187-
echo ""
188-
echo_info "Checking for musl libc..."
189-
if strings "$BINARY" | grep -q "musl"; then
190-
echo_info "✓ Binary contains musl libc"
191-
fi
192-
193187
echo ""
194188
echo_step "=== Build Summary ==="
195189
echo_info "Binary: ${BINARY}"

0 commit comments

Comments
 (0)