From d92750f28fd0b07cab1e21dadc1279939abf5572 Mon Sep 17 00:00:00 2001 From: Dominika Liberda Date: Mon, 11 Oct 2021 15:21:28 +0200 Subject: [PATCH] asdf --- scripts/1_Install_Dependencies.sh | 4 ++++ scripts/4_Build_Binary_Tarball.sh | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) 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