Another build fix attempt
@@ -51,7 +51,8 @@ PACKAGES: Linux -> Windows Cross-Compilation
PACKAGES: Mac
-- sdl2 (brew)
+- sdl2
+- glew
- ant
*/
@@ -102,6 +103,7 @@ jnigen{
}
add(MacOsX, x64){
cppFlags += " " + execCmd("sdl2-config --cflags")
+ cppFlags = cppFlags.replace("10.7", "10.13")
cFlags = cppFlags
//execCmd("sdl2-config --static-libs") + " -Wl,-framework,OpenGL"
libraries = "/usr/local/lib/libSDL2.a -lm -liconv -Wl,-framework,CoreAudio -Wl,-framework,GameController -Wl,-framework,OpenGL,-framework,AudioToolbox -Wl,-framework,ForceFeedback -lobjc -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,IOKit -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,Metal /usr/local/lib/libGLEW.a"
