A fast, helpful, and open-source document parser
change library name
Clelia (Astra) Bertelli7457f11379b9
diff --git a/scripts/build-musl-node.sh b/scripts/build-musl-node.shindex ba83c13..de0fe7a 100644--- a/scripts/build-musl-node.sh+++ b/scripts/build-musl-node.sh@@ -3,12 +3,13 @@ set -eux# tesseract-rs's build.rs hard-codes -DCMAKE_CXX_COMPILER=clang++ and -stdlib=libc++,# so we need real clang + libc++ in the image (gcc/g++ from build-base is not enough).-# Alpine's libc++ links against libc++abi and libunwind, hence those *-dev packages.+# Alpine's libc++ links against llvm-libunwind (NOT the GNU libunwind, which conflicts);+# libc++abi symbols are bundled in libc++ itself, no separate package.# Static libs (openssl-libs-static, zlib-static) are required because musl rust defaults# to crt-static for build scripts.apk add --no-cache \build-base cmake git curl pkgconf perl \- clang libc++-dev libc++abi libunwind-dev \+ clang libc++-dev llvm-libunwind-dev \tesseract-ocr-dev leptonica-dev \openssl-dev openssl-libs-static zlib-static