commit 70aec21641754956ad34e1457bc959e47c98ab0c parent b7ff262173d85cf3c70090330a5559f5b879009a Author: Michael Savage <mikejsavage@gmail.com> Date: Fri Jul 7 23:03:05 +0300 Let't try again Diffstat:
libs/glfw.lua | | | 12 | ++++++------ |
diff --git a/libs/glfw.lua b/libs/glfw.lua @@ -26,7 +26,7 @@ elseif OS == "macos" then "libs/glfw/src/nsgl_context", } ) - obj_replace_cxxflags( "libs/glfw/src/%", "-c -x c -O2 -D_GLFW_COCOA" ) + obj_replace_cxxflags( "libs/glfw/src/%", "-c -x c -O2 -D_GLFW_COCOA -mmacosx-version-min=10.9" ) -- build .m files properly obj( "libs/glfw/src/cocoa_init", "libs/glfw/src/cocoa_init.m" ) @@ -35,11 +35,11 @@ elseif OS == "macos" then obj( "libs/glfw/src/cocoa_joystick", "libs/glfw/src/cocoa_joystick.m" ) obj( "libs/glfw/src/nsgl_context", "libs/glfw/src/nsgl_context.m" ) - obj_replace_cxxflags( "libs/glfw/src/cocoa_init", "-c -O2 -D_GLFW_COCOA -mmacosx-verison-min=10.9" ) - obj_replace_cxxflags( "libs/glfw/src/cocoa_monitor", "-c -O2 -D_GLFW_COCOA -Wno-deprecated-declarations -mmacosx-verison-min=10.9" ) - obj_replace_cxxflags( "libs/glfw/src/cocoa_window", "-c -O2 -D_GLFW_COCOA -Wno-deprecated-declarations -mmacosx-verison-min=10.9" ) - obj_replace_cxxflags( "libs/glfw/src/cocoa_joystick", "-c -O2 -D_GLFW_COCOA -mmacosx-verison-min=10.9" ) - obj_replace_cxxflags( "libs/glfw/src/nsgl_context", "-c -O2 -D_GLFW_COCOA -Wno-deprecated-declarations -mmacosx-verison-min=10.9" ) + obj_replace_cxxflags( "libs/glfw/src/cocoa_init", "-c -O2 -D_GLFW_COCOA -mmacosx-version-min=10.9" ) + obj_replace_cxxflags( "libs/glfw/src/cocoa_monitor", "-c -O2 -D_GLFW_COCOA -Wno-deprecated-declarations -mmacosx-version-min=10.9" ) + obj_replace_cxxflags( "libs/glfw/src/cocoa_window", "-c -O2 -D_GLFW_COCOA -Wno-deprecated-declarations -mmacosx-version-min=10.9" ) + obj_replace_cxxflags( "libs/glfw/src/cocoa_joystick", "-c -O2 -D_GLFW_COCOA -mmacosx-version-min=10.9" ) + obj_replace_cxxflags( "libs/glfw/src/nsgl_context", "-c -O2 -D_GLFW_COCOA -Wno-deprecated-declarations -mmacosx-version-min=10.9" ) else error( "don't know how to build GLFW on this platform" ) end