From b7f99932efa534faac561a99b06950ff309e4da5 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 5 Dec 2023 11:22:17 +0100 Subject: [PATCH] Fix build Signed-off-by: falkTX --- bootstrap-jack2.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bootstrap-jack2.sh b/bootstrap-jack2.sh index dd614f2..b85de4d 100755 --- a/bootstrap-jack2.sh +++ b/bootstrap-jack2.sh @@ -115,7 +115,7 @@ if [ "${WIN32}" -eq 1 ]; then fi # --------------------------------------------------------------------------------------------------------------------- -# portaudio (win32 only) +# portaudio if [ "${LINUX}" -eq 1 ] || [ "${WIN32}" -eq 1 ]; then PORTAUDIO_EXTRAFLAGS="" @@ -134,7 +134,9 @@ if [ "${LINUX}" -eq 1 ] || [ "${WIN32}" -eq 1 ]; then PORTAUDIO_EXTRAFLAGS+=" --without-jack" fi - if [ "${WIN32}" -eq 1 ]; then + if [ "${LINUX}" -eq 1 ]; then + export EXTRA_LDFLAGS="-ldl" + elif [ "${WIN32}" -eq 1 ]; then export EXTRA_CFLAGS="-I${ASIO_DIR}" export EXTRA_CXXFLAGS="-I${ASIO_DIR}" PORTAUDIO_EXTRAFLAGS+=" --with-asiodir=${ASIO_DIR}"