xbmc/utils/test/utilsTest.a \
xbmc/threads/test/threadTest.a \
xbmc/interfaces/python/test/pythonSwigTest.a \
- xbmc/windowing/tests/wayland/test_wayland.a \
xbmc/test/xbmc-test.a
+ifeq (@USE_WAYLAND@,1)
+CHECK_LIBS += xbmc/windowing/tests/wayland/test_wayland.a
+
ifeq (@USE_WAYLAND_TEST_EXTENSION@,1)
WAYLAND_TEST_MODULE = xbmc/windowing/tests/wayland/xbmc-wayland-test-extension.so
$(WAYLAND_TEST_MODULE): force
CHECK_EXTENSIONS = $(WAYLAND_TEST_MODULE)
CHECK_LIBADD=@WAYLAND_TEST_LIBS@
endif
+endif
CHECK_PROGRAMS = xbmc-test
xbmc/android/jni/Makefile \
xbmc/utils/Makefile \
xbmc/main/Makefile \
- xbmc/windowing/tests/wayland/Makefile \
project/cmake/xbmc-config.cmake"
+if $use_wayland = "yes"; then
+OUTPUT_FILES="$OUTPUT_FILES xbmc/windowing/tests/wayland/Makefile"
+fi
+
if test "$use_skin_touched" = "yes"; then
OUTPUT_FILES="$OUTPUT_FILES addons/skin.touched/media/Makefile"
fi