diff --git a/libc3/window/cairo/xcb/demo/configure b/libc3/window/cairo/xcb/demo/configure
index f2bb344..3fd8000 100755
--- a/libc3/window/cairo/xcb/demo/configure
+++ b/libc3/window/cairo/xcb/demo/configure
@@ -55,19 +55,19 @@ LIBS="$LIBS"
# Asan config
CFLAGS_ASAN="$CFLAGS -fsanitize=address -O1 -fno-omit-frame-pointer -g"
LDFLAGS_ASAN="$LDFLAGS"
-LOCAL_LIBS_ASAN="../libc3_window_cairo_xcb_asan.la"
+LOCAL_LIBS_ASAN="../libc3_window_cairo_xcb_asan.la ../../libc3_window_cairo_asan.la ../../../libc3_window_asan.la ../../../../libc3_asan.la"
LIBS_ASAN="$LOCAL_LIBS_ASAN $LIBS"
# Coverage config
CFLAGS_COV="$CFLAGS -ftest-coverage -fprofile-arcs -fprofile-generate"
LDFLAGS_COV="$LDFLAGS --coverage"
-LOCAL_LIBS_COV="../libc3_window_cairo_xcb_cov.la"
+LOCAL_LIBS_COV="../libc3_window_cairo_xcb_cov.la ../../libc3_window_cairo_cov.la ../../../libc3_window_cov.la ../../../../libc3_cov.la"
LIBS_COV="$LOCAL_LIBS_COV $LIBS"
# Debug config
CFLAGS_DEBUG="$CFLAGS -DDEBUG -O0 -g"
LDFLAGS_DEBUG="$LDFLAGS"
-LOCAL_LIBS_DEBUG="../libc3_window_cairo_xcb_debug.la"
+LOCAL_LIBS_DEBUG="../libc3_window_cairo_xcb_debug.la ../../libc3_window_cairo_debug.la ../../../libc3_window_debug.la ../../../../libc3_debug.la"
LIBS_DEBUG="$LOCAL_LIBS_DEBUG $LIBS"
# Main config
@@ -76,7 +76,7 @@ if [ "x$ENV_CFLAGS" = "x" ]; then
CFLAGS="$CFLAGS $DEFAULT_CFLAGS"
fi
CFLAGS="$CFLAGS -DNDEBUG"
-LOCAL_LIBS="../libc3_window_cairo_xcb.la"
+LOCAL_LIBS="../libc3_window_cairo_xcb.la ../../libc3_window_cairo.la ../../../libc3_window.la ../../../../libc3.la"
LIBS="$LOCAL_LIBS $LIBS"
echo "HAVE_ASAN = $HAVE_ASAN" >> ${CONFIG_MK}