From 22511270ddc5caad596e82ba7c94f064b6c9df92 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 12 Dec 2018 17:59:26 +0400 Subject: [PATCH] Fix building openal-soft on Xcode. --- docs/building-xcode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/building-xcode.md b/docs/building-xcode.md index a81e158667..e6270b3d4d 100644 --- a/docs/building-xcode.md +++ b/docs/building-xcode.md @@ -90,7 +90,7 @@ Go to ***BuildPath*** and run cd openal-soft git checkout openal-soft-1.19.1 cd build - LDFLAGS='-isysroot /' cmake -D LIBTYPE:STRING=STATIC -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8 .. + LDFLAGS='-stdlib=libc++' cmake -D ALSOFT_EXAMPLES=OFF -D LIBTYPE:STRING=STATIC -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8 .. make -j4 sudo make install cd ../..