cbindgen if

master
Dominika Liberda 2021-10-11 15:17:54 +02:00
parent 83a6751e80
commit 10612c8cc3
2 changed files with 5 additions and 3 deletions

View File

@ -63,8 +63,10 @@ cd $srcdir;
rm -f mozconfig
# install cbindgen
cargo install --version 0.20.0 cbindgen
# install cbindgen, but the install crashes on musl
if [[ "$(/lib/libc.so)" != *"musl libc"* ]]; then
cargo install --version 0.20.0 cbindgen
fi
if [[ $CARCH == 'aarch64' ]]; then

View File

@ -24,7 +24,7 @@ printf "\nCopying librewolf settings to extracted binary tarball\n";
git clone $_SETTINGS_REPO $_EXTRACTED_TARBALL_FOLDER/settings;
cd $_EXTRACTED_TARBALL_FOLDER/settings
git checkout $_SETTINGS_TAG
#git checkout $_SETTINGS_TAG
cd -
# no need to keep that in there:
rm -rf "${_EXTRACTED_TARBALL_FOLDER}/settings/.git";