audio/yabridge: Fix set buildtype

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Martin Bångens 2024-01-20 17:06:20 +01:00 committed by Willy Sudiarto Raharjo
parent 3dce239a6d
commit 0432279200
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 4 additions and 2 deletions

View File

@ -54,8 +54,10 @@ else
fi
if [[ "$ARG_WINEDBG" = "YES" || "$ARG_WINEDBG" = "true" ]]; then
BUILDTYPE="debug"
ARG_WINEDBG="true"
else
BUILDTYPE="release"
ARG_WINEDBG="false"
fi
@ -131,7 +133,7 @@ if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
meson setup \
build \
--cross-file=cross-wine.conf \
--buildtype=release \
--buildtype=$BUILDTYPE \
--unity=on \
--unity-size=1000 \
--wrap-mode=nodownload \
@ -146,7 +148,7 @@ elif [ "$ARCH" = "x86_64" ]; then
meson setup \
build \
--cross-file=cross-wine.conf \
--buildtype=release \
--buildtype=$BUILDTYPE \
--unity=on \
--unity-size=1000 \
--wrap-mode=nodownload \