Commit 4df5ac6a04ca5662ff59031017783c6e0e8c70b3

Thomas de Grivel 2023-12-03T00:13:18

wip sdl2 mac

diff --git a/libc3/window/sdl2/configure b/libc3/window/sdl2/configure
index 459ee56..3bce5d4 100755
--- a/libc3/window/sdl2/configure
+++ b/libc3/window/sdl2/configure
@@ -48,6 +48,7 @@ pkg_config gl
 pkg_config glu
 pkg_config sdl2
 pkg_config libbsd-overlay
+config_lib OPENGL -framework OpenGL
 config_define PREFIX "\"${PREFIX}\""
 
 # Address Sanitizer config
diff --git a/libc3/window/sdl2/demo/configure b/libc3/window/sdl2/demo/configure
index 52d442f..d6c5344 100755
--- a/libc3/window/sdl2/demo/configure
+++ b/libc3/window/sdl2/demo/configure
@@ -53,6 +53,7 @@ pkg_config ftgl
 pkg_config gl
 pkg_config glu
 pkg_config sdl2
+config_lib OPENGL -framework OpenGL
 LIBS="$LIBS"
 
 # Asan config