Workaround tg_owt/openal conflict in a patched OpenAL on macOS.

This commit is contained in:
John Preston 2020-12-22 23:38:38 +04:00
parent d16bc36bae
commit 670d618439

View File

@ -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