From a314380b08a163aee5016a89ca409a761a238b52 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 23 Dec 2024 22:48:05 +0400 Subject: [PATCH] Rollback OpenAL on macOS. --- Telegram/build/prepare/prepare.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index cb252f79d9..31dacb2c2b 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -1369,8 +1369,8 @@ depends:yasm/yasm stage('openal-soft', """ git clone https://github.com/telegramdesktop/openal-soft.git cd openal-soft - git checkout 5e9429354d win: + git checkout 5e9429354d cmake -B build . ^ -A %WIN32X64% ^ -D LIBTYPE:STRING=STATIC ^ @@ -1382,6 +1382,7 @@ win: release: cmake --build build --config RelWithDebInfo --parallel mac: + git checkout coreaudio_device_uid CFLAGS=$UNGUARDED CPPFLAGS=$UNGUARDED cmake -B build . \\ -D CMAKE_BUILD_TYPE=RelWithDebInfo \\ -D CMAKE_INSTALL_PREFIX:PATH=$USED_PREFIX \\