Commit 628de9fc33d56a1dc5cbe5d9613b3286de621853

Thomas de Grivel 2023-11-29T10:35:09

Fix Debian build.

diff --git a/libc3/window/cairo/demo/configure b/libc3/window/cairo/demo/configure
index feb9fd9..bfbbc6a 100755
--- a/libc3/window/cairo/demo/configure
+++ b/libc3/window/cairo/demo/configure
@@ -50,19 +50,19 @@ config_define PREFIX "\"${PREFIX}\""
 # Address Sanitizer config
 CFLAGS_ASAN="$CFLAGS -O1 -fsanitize=address -fno-omit-frame-pointer -g"
 LDFLAGS_ASAN="$LDFLAGS"
-LIBS_LOCAL_ASAN="../libc3_window_cairo_asan.la"
+LIBS_LOCAL_ASAN="../libc3_window_cairo_asan.la ../../libc3_window_asan.la ../../../libc3_asan.la"
 LIBS_ASAN="$LIBS_LOCAL_ASAN $LIBS"
 
 # Coverage config
 CFLAGS_COV="$CFLAGS -ftest-coverage -fprofile-arcs -fprofile-generate"
 LDFLAGS_COV="$LDFLAGS --coverage"
-LIBS_LOCAL_COV="../libc3_window_cairo_cov.la"
+LIBS_LOCAL_COV="../libc3_window_cairo_cov.la ../../libc3_window_cov.la ../../../libc3_cov.la"
 LIBS_COV="$LIBS_LOCAL_COV $LIBS"
 
 # Debug config
 CFLAGS_DEBUG="$CFLAGS -DDEBUG -O0 -g"
 LDFLAGS_DEBUG="$LDFLAGS"
-LIBS_LOCAL_DEBUG="../libc3_window_cairo_debug.la"
+LIBS_LOCAL_DEBUG="../libc3_window_cairo_debug.la ../../libc3_window_debug.la ../../../libc3_debug.la"
 LIBS_DEBUG="$LIBS_LOCAL_DEBUG $LIBS"
 
 # Main config
@@ -71,7 +71,7 @@ if [ "x$ENV_CFLAGS" = "x" ]; then
     CFLAGS="$CFLAGS $DEFAULT_CFLAGS"
 fi
 CFLAGS="$CFLAGS -DNDEBUG"
-LIBS_LOCAL="../libc3_window_cairo.la"
+LIBS_LOCAL="../libc3_window_cairo.la ../../libc3_window.la ../../../libc3.la"
 LIBS="$LIBS_LOCAL $LIBS"
 
 echo "LIB = $LIB" >> ${CONFIG_MK}