tests: Fix out-of-tree builds

Make sure we include any generated headers from src/ as well, like
wayland-version.h.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Daniel Stone 2012-05-01 20:30:12 +01:00 committed by Kristian Høgsberg
parent 2753904eda
commit 0a828e098c

View file

@ -27,7 +27,7 @@ os_wrappers_test_SOURCES = \
../src/wayland-os.c \
$(test_runner_src)
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) -I../src
LDADD = $(top_builddir)/src/libwayland-util.la \
$(top_builddir)/src/libwayland-server.la \
-lrt -ldl $(FFI_LIBS)