FLTK logo

[master] a59026f - Fix to support macOS 11.0 "Big Sur"

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] a59026f - Fix to support macOS 11.0 "Big Sur" "ManoloFLTK" Aug 30, 2020  
 
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 ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.