mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-21 05:00:13 +01:00
test: add basic static link test
Same as the dynamic link test, just with the -static flag Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6247e5c12a
commit
f46737726b
1 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
if BUILD_TESTS
|
||||
run_tests = test-libevdev test-kernel
|
||||
build_tests = test-compile-pedantic test-link
|
||||
build_tests = test-compile-pedantic test-link test-static-link
|
||||
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
|
@ -45,6 +45,11 @@ test_link_SOURCES = test-link.c
|
|||
test_link_CFLAGS = -I$(top_srcdir)
|
||||
test_link_LDADD = $(top_builddir)/libevdev/libevdev.la
|
||||
|
||||
test_static_link_SOURCES = test-link.c
|
||||
test_static_link_CFLAGS = -I$(top_srcdir)
|
||||
test_static_link_LDADD = $(top_builddir)/libevdev/libevdev.la
|
||||
test_static_link_LDFLAGS = -static
|
||||
|
||||
test_kernel_SOURCES = \
|
||||
test-kernel.c \
|
||||
$(common_sources)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue