From 670d6184399c2b51f55c130eb22385e32f9e66aa Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 22 Dec 2020 23:38:38 +0400 Subject: [PATCH] Workaround tg_owt/openal conflict in a patched OpenAL on macOS. --- docs/building-xcode.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/building-xcode.md b/docs/building-xcode.md index c4706456f9..91c878b6a6 100644 --- a/docs/building-xcode.md +++ b/docs/building-xcode.md @@ -240,10 +240,8 @@ Go to ***BuildPath*** and run sudo make install cd .. - git clone https://github.com/kcat/openal-soft.git - cd openal-soft - git checkout 3970252da9 - cd build + git clone --branch capture_with_webrtc https://github.com/telegramdesktop/openal-soft.git + cd openal-soft/build CFLAGS=$UNGUARDED CPPFLAGS=$UNGUARDED cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr/local/macos -D ALSOFT_EXAMPLES=OFF -D LIBTYPE:STRING=STATIC -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.12 .. make $MAKE_THREADS_CNT sudo make install