mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb-errors.git
synced 2025-12-20 07:00:03 +01:00
Fix test suite compilation
This didn't find xcb_errors.h for out-of-tree builds. Fix this by using $(srcdir) correctly. Also, the test suite makes use of libxcb and thus should link against it. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
40fdc28891
commit
9f93cefb40
1 changed files with 2 additions and 2 deletions
|
|
@ -30,8 +30,8 @@ pkgconfig_DATA = xcb-errors.pc
|
|||
TESTS = tests/test
|
||||
check_PROGRAMS = tests/test
|
||||
tests_test_SOURCE = tests/test.c
|
||||
tests_test_CPPFLAGS = -Isrc/
|
||||
tests_test_LDADD = libxcb-errors.la
|
||||
tests_test_CPPFLAGS = -I$(srcdir)/src/ $(XCB_CFLAGS)
|
||||
tests_test_LDADD = libxcb-errors.la $(XCB_LIBS)
|
||||
|
||||
CLEANFILES = src/extensions.c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue