diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-19 08:15:07 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-25 10:06:48 +1000 |
commit | f46737726b0c81f8cf83c9f22bae7a659b01414f (patch) | |
tree | 9f87f815250b3370f6049007a4adf93a2bb29fd4 | |
parent | 6247e5c12a6b1df5a0a68ea1beeddb48b9f7a495 (diff) | |
download | libevdev-f46737726b0c81f8cf83c9f22bae7a659b01414f.tar.gz |
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>
-rw-r--r-- | test/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 7b195fb..1b65224 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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) |