Skip to content

Commit 09fecca

Browse files
committed
try another approach
1 parent c5b34e1 commit 09fecca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ function pre_build {
3939
brew info ffmpeg
4040
echo '-----------------'
4141

42-
export MACOSX_DEPLOYMENT_TARGET=10.7
42+
MACOS_SDK_PATH=`xcrun --sdk macosx --show-sdk-path`
43+
export CXXFLAGS="-stdlib=libc++ -isysroot ${MACOS_SDK_PATH} -mmacosx-version-min=10.7"
4344

4445
else
4546
echo "Running for linux"

0 commit comments

Comments
 (0)