tests: Respect pamlibdir in installed tests

The build allows configuring pam module installation path but then it did
not respect it in installed tests.
This commit is contained in:
Jan Tojnar 2020-03-26 02:56:33 +01:00 committed by Philip Withnall
parent 0d60138e0a
commit 38c1170bda
2 changed files with 9 additions and 0 deletions

View file

@ -49,6 +49,7 @@ libglib_testing_dep = dependency(
config_h = configuration_data()
config_h.set_quoted('GETTEXT_PACKAGE', 'malcontent')
config_h.set_quoted('PACKAGE_LOCALE_DIR', join_paths(get_option('prefix'), get_option('localedir')))
config_h.set_quoted('PAMLIBDIR', pamlibdir)
config_h.set_quoted('VERSION', meson.project_version())
configure_file(
output: 'config.h',