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