diff options
author | Fabio Bas <fabio.bas@officineinformatiche.net> | 2022-05-24 16:00:02 +0200 |
---|---|---|
committer | Fabio Bas <fabio.bas@officineinformatiche.net> | 2022-05-24 16:00:02 +0200 |
commit | b04d4eb3e87da2627ac16364bc03bf6c2c452b8c (patch) | |
tree | a9b346b22753eb7f88ae645e30c896825d5da45e /tests | |
parent | 1be0810b695a88407bca084a12063b78a719345e (diff) |
Permit build without pam_wrapper
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pam/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/pam/meson.build b/tests/pam/meson.build index dc0b071..bb3c1d9 100644 --- a/tests/pam/meson.build +++ b/tests/pam/meson.build @@ -12,7 +12,9 @@ if address_sanitizer preloaded_libs += 'asan' endif -preloaded_libs += 'pam_wrapper' +if pam_wrapper_dep.found() + preloaded_libs += 'pam_wrapper' +endif foreach libname: preloaded_libs lib = run_command(meson.get_compiler('c'), |