diff options
author | Sam Spilsbury <smspillaz@gmail.com> | 2013-11-02 13:19:30 +0800 |
---|---|---|
committer | Sam Spilsbury <smspillaz@gmail.com> | 2013-11-02 13:19:30 +0800 |
commit | ed2444b2f990c68c024a27e01a970c1313de2fe6 (patch) | |
tree | 717698c8588a77d920c1d1c3e024ae47d8dec436 /Makefile.in | |
parent | a52edf6fecb8056203d0575150508901ae0868f3 (diff) |
Only build libwayland_test.a if building tests with wayland
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 618ca255e2..72acd89b17 100644 --- a/Makefile.in +++ b/Makefile.in @@ -303,9 +303,11 @@ CHECK_LIBS = xbmc/filesystem/test/filesystemTest.a \ 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 @@ -313,6 +315,7 @@ $(WAYLAND_TEST_MODULE): force CHECK_EXTENSIONS = $(WAYLAND_TEST_MODULE) CHECK_LIBADD=@WAYLAND_TEST_LIBS@ endif +endif CHECK_PROGRAMS = xbmc-test |