]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
meson: add test-dlopen
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 Apr 2017 00:10:28 +0000 (20:10 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:28 +0000 (21:47 -0400)
commit83b6af36d1ea1d1250ad2836c00193021e908cef
tree560bb4e198fd4d7638f1806c233daf15de55c718
parent3762b6722e24c17dccf1ec7d352b403469398ba4
meson: add test-dlopen

test-dlopen is a very simple binary that is only linked with libc and
libdl. From it we do dlopen() on the nss and pam modules to check that they are
linked to all necessary libs.

(meson-compiled nss modules are linked to less libraries, for whatever reason.
I suspected that some deps are missing, but it turns out that my suspicions
weren't justified, and the modules load just fine. Let's keep the test though,
it is very quick, and might detect missing linkage in the future.)
meson.build
src/test/meson.build
src/test/test-dlopen.c [new file with mode: 0644]