|
|
commit a59026fa1cfcbb26fb6cfa486ad80a7c69c69ef7
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Sun Aug 30 10:14:01 2020 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Sun Aug 30 10:14:16 2020 +0200
Fix to support macOS 11.0 "Big Sur"
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git configure.ac configure.ac
index 692c3d7..800ef78 100644
--- configure.ac
+++ configure.ac
@@ -97,7 +97,8 @@ case $host_os in
host_os_gui="X11"
OPTIM="-U__APPLE__ $OPTIM"
macosversion=`sw_vers -productVersion | cut -d. -f2`
- if test $macosversion -ge "13" ; then
+ macosversion_maj=`sw_vers -productVersion | cut -d. -f1`
+ if test $macosversion_maj -ge "11" -o $macosversion -ge "13" ; then
CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.9 -D_LIBCPP_HAS_THREAD_API_PTHREAD"
fi
fi
[ Direct Link to Message ] | |
|
| |