mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
install.sh: use debian dist libffi
only build libffi from source on non-debian targets
This commit is contained in:
parent
5246c1ccb5
commit
8675a2979c
1 changed files with 7 additions and 3 deletions
10
install.sh
10
install.sh
|
|
@ -74,6 +74,8 @@ deps_install ()
|
|||
'python3-pip' \
|
||||
'python3-setuptools' \
|
||||
'python3-venv' \
|
||||
'libffi-dev' \
|
||||
'libffi8' \
|
||||
'libltdl-dev' )
|
||||
|
||||
if [ "$with_sudo" == 1 ]; then debian_deps+=("sudo"); fi
|
||||
|
|
@ -617,9 +619,11 @@ main ()
|
|||
echo "libsecp256k1 was not built. Exiting."
|
||||
return 1
|
||||
fi
|
||||
if ! libffi_install; then
|
||||
echo "Libffi was not built. Exiting."
|
||||
return 1
|
||||
if [[ "${install_os}" != 'debian' ]]; then
|
||||
if ! libffi_install; then
|
||||
echo "Libffi was not built. Exiting."
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
if ! libsodium_install; then
|
||||
echo "Libsodium was not built. Exiting."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue