mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-25 06:59:46 -05:00
tests: fix make check for out-of-tree builds
It was failing with missing include files. While here, destroy the ugly "../src/..." include paths used in the tests that was just hacking around this problem in the Makefile: sed -i s/..\\/src\\/// tests/*.c
This commit is contained in:
parent
c394b75958
commit
b486e3aba5
11 changed files with 13 additions and 12 deletions
|
|
@ -34,7 +34,8 @@ os_wrappers_test_SOURCES = \
|
|||
../src/wayland-os.c \
|
||||
$(test_runner_src)
|
||||
|
||||
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) -I../src
|
||||
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
|
||||
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
|
||||
LDADD = $(top_builddir)/src/libwayland-util.la \
|
||||
$(top_builddir)/src/libwayland-server.la \
|
||||
-lrt -ldl $(FFI_LIBS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue