diff --git a/scripts/1_Install_Dependencies.sh b/scripts/1_Install_Dependencies.sh index 6f70169..2b5b01a 100755 --- a/scripts/1_Install_Dependencies.sh +++ b/scripts/1_Install_Dependencies.sh @@ -51,6 +51,10 @@ _DEPENDENCIES="wget git xorg-server-xvfb \ printf "\nInstalling dependencies: $_DEPENDENCIES\n"; xbps-install -Sy $_DEPENDENCIES +if [[ "$(/lib/libc.so)" != *"musl libc"* ]]; then + xbps-install -y musl-devel +fi + ln -s /bin/clang /bin/cc mkdir /usr/lib/nodejs-mozilla/ ln -s /usr/bin/ /usr/lib/nodejs-mozilla/bin diff --git a/scripts/4_Build_Binary_Tarball.sh b/scripts/4_Build_Binary_Tarball.sh index d53d76f..65b61a0 100755 --- a/scripts/4_Build_Binary_Tarball.sh +++ b/scripts/4_Build_Binary_Tarball.sh @@ -63,10 +63,10 @@ cd $srcdir; rm -f mozconfig -# install cbindgen, but the install crashes on musl -if [[ "$(/lib/libc.so)" != *"musl libc"* ]]; then - cargo install --version 0.20.0 cbindgen -fi +# install cbindgen +#if [[ "$(/lib/libc.so)" != *"musl libc"* ]]; then +# cargo install --version 0.20.0 cbindgen +#fi if [[ $CARCH == 'aarch64' ]]; then