From: Pekka Paalanen <pekka.paala...@collabora.co.uk> CC clients/weston-info.o clients/weston-info.c:31:28: fatal error: wayland-client.h: No such file or directory compilation terminated. make[1]: *** [clients/weston-info.o] Error 1
Only triggerable if libwayland is only in a custom prefix. Fix by adding CLIENT_CFLAGS. Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- I see most demo apps have *only* CLIENT_CFLAGS which makes them not have GCC_CFLAGS, but this change makes weston-info to be compiled with GCC_CFLAGS. Which way should it be? --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 1de22c9..6eab511 100644 --- a/Makefile.am +++ b/Makefile.am @@ -547,6 +547,7 @@ weston_info_SOURCES = \ shared/os-compatibility.c \ shared/os-compatibility.h weston_info_LDADD = $(WESTON_INFO_LIBS) +weston_info_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) weston_desktop_shell_SOURCES = clients/desktop-shell.c nodist_weston_desktop_shell_SOURCES = \ -- 1.8.3.2 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel