diff options
author | Martin BĂ„ngens <noisecode3@gmail.com> | 2024-01-20 17:06:20 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-20 23:46:23 +0700 |
commit | 0432279200ee7f7e7cedb639f67e0ff10d0824f3 (patch) | |
tree | e6e8793c395ff2da99dd181c3b659609f0b184a2 | |
parent | 3dce239a6de038b60eb26fe561a5f5fe5d70cc84 (diff) |
audio/yabridge: Fix set buildtype
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | audio/yabridge/yabridge.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/yabridge/yabridge.SlackBuild b/audio/yabridge/yabridge.SlackBuild index 9904cc3c8709..2a08fe7a65ba 100644 --- a/audio/yabridge/yabridge.SlackBuild +++ b/audio/yabridge/yabridge.SlackBuild @@ -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 \ |