mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 17:40:23 +00:00
Configure: set min macOS version to 10.14 only on Mojave and newer
This commit is contained in:
@@ -161,7 +161,12 @@ if test $system = Linux; then
|
||||
fi
|
||||
|
||||
if test $system = MacOSX; then
|
||||
COMMON_OSX_FLAGS="-iframework data/redists -mmacosx-version-min=10.14 -stdlib=libc++"
|
||||
if test $os_version_major -lt 14; then
|
||||
MIN_MACOS_VER=10.7
|
||||
else
|
||||
MIN_MACOS_VER=10.14
|
||||
fi
|
||||
COMMON_OSX_FLAGS="-iframework data/redists -mmacosx-version-min=$MIN_MACOS_VER -stdlib=libc++"
|
||||
CFLAGS="$CFLAGS $COMMON_OSX_FLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $COMMON_OSX_FLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $COMMON_OSX_FLAGS"
|
||||
|
||||
Reference in New Issue
Block a user