diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-06-02 23:40:43 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-06-03 14:40:14 +0200 |
commit | a71278840bcaafada1c6548bee78e3e37570ec05 (patch) | |
tree | 7f6c81adad7d86650e31836d77569e09d1f024ad /meson.build | |
parent | sha256: fix compilation on efi-ia32 (diff) | |
download | systemd-a71278840bcaafada1c6548bee78e3e37570ec05.tar.xz systemd-a71278840bcaafada1c6548bee78e3e37570ec05.zip |
test: add dlopen test for pam_systemd_home
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 731456ba07..f9e15ae83e 100644 --- a/meson.build +++ b/meson.build @@ -2621,7 +2621,7 @@ if conf.get('ENABLE_HOMED') == 1 if conf.get('HAVE_PAM') == 1 version_script_arg = project_source_root / pam_systemd_home_sym - pam_systemd = shared_library( + pam_systemd_home = shared_library( 'pam_systemd_home', pam_systemd_home_c, name_prefix : '', @@ -2638,6 +2638,14 @@ if conf.get('ENABLE_HOMED') == 1 install : true, install_tag : 'pam', install_dir : pamlibdir) + + if want_tests != 'false' + test('dlopen-pam_systemd_home', + test_dlopen, + # path to dlopen must include a slash + args : pam_systemd_home.full_path(), + depends : pam_systemd_home) + endif endif endif |