From 1c2125f969d89c3d6550348b782e80632457084a Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 14 Aug 2020 21:08:35 +0200 Subject: [PATCH] prevent direwolf from using hamlib, refs #164 --- docker/scripts/install-dependencies.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/scripts/install-dependencies.sh b/docker/scripts/install-dependencies.sh index 479db9c..04af411 100755 --- a/docker/scripts/install-dependencies.sh +++ b/docker/scripts/install-dependencies.sh @@ -20,7 +20,6 @@ cd /tmp STATIC_PACKAGES="sox libfftw3-bin python3 python3-setuptools netcat-openbsd libsndfile1 liblapack3 libusb-1.0-0 libqt5core5a libreadline7 libgfortran4 libgomp1 libasound2 libudev1 ca-certificates libqt5gui5 libqt5sql5 libqt5printsupport5" BUILD_PACKAGES="wget git libsndfile1-dev libfftw3-dev cmake make gcc g++ liblapack-dev autoconf automake libtool texinfo gfortran libusb-1.0-0-dev qtbase5-dev qtmultimedia5-dev qttools5-dev libqt5serialport5-dev qttools5-dev-tools asciidoctor asciidoc libasound2-dev pkg-config libudev-dev libhamlib-dev patch xsltproc" - apt-get update apt-get -y install auto-apt-proxy apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES @@ -94,7 +93,9 @@ rm ${WSJT_TGZ} git clone --depth 1 -b 1.5 https://github.com/wb2osz/direwolf.git cd direwolf -make +# hamlib is present (necessary for the wsjt-x and js8call builds) and would be used, but there's no real need. +# by setting enable_hamlib we prevent direwolf from linking to it, and it can be stripped at the end of the script. +make enable_hamlib= make install cd .. rm -rf direwolf