Commit 2a594c9ccf029a098e0e881d965ae8e581302eec

Thomas de Grivel 2023-12-08T13:34:55

fix compilation on linux

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/window/sdl2/demo/configure b/libc3/window/sdl2/demo/configure
index a2f9401..54a2d9c 100755
--- a/libc3/window/sdl2/demo/configure
+++ b/libc3/window/sdl2/demo/configure
@@ -47,7 +47,7 @@ echo "OBJECTS_DEBUG = $OBJECTS_DEBUG" >> ${CONFIG_MK}
 CPPFLAGS="-I../../../../libffi/include -I../../../.. $CPPFLAGS"
 CPPFLAGS="$CPPFLAGS -DGL_SILENCE_DEPRECATION=1"
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic"
-LIBS="$LIBS"
+LIBS="$LIBS -lm"
 config_asan
 config_gnu
 pkg_config ftgl