Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Dec 5, 2023
1 parent adf6d53 commit b7f9993
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bootstrap-jack2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ if [ "${WIN32}" -eq 1 ]; then
fi

# ---------------------------------------------------------------------------------------------------------------------
# portaudio (win32 only)
# portaudio

if [ "${LINUX}" -eq 1 ] || [ "${WIN32}" -eq 1 ]; then
PORTAUDIO_EXTRAFLAGS=""
Expand All @@ -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}"
Expand Down

0 comments on commit b7f9993

Please sign in to comment.