Merge branch 'fix-pamlibdir' into 'master'

build: Fix default value of pamlibdir

See merge request pwithnall/malcontent!21
This commit is contained in:
Philip Withnall 2020-01-20 17:17:20 +00:00
commit 6e5f356f73
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ accountsserviceinterfacesdir = join_paths(datadir, 'accountsservice', 'interface
# FIXME: pam.pc doesnt exist # FIXME: pam.pc doesnt exist
pamlibdir = get_option('pamlibdir') pamlibdir = get_option('pamlibdir')
if pamlibdir == '' if pamlibdir == ''
pamlibdir = join_paths(prefix, libdir.split('/')[-1], 'security') pamlibdir = join_paths(libdir, 'security')
endif endif
dbus = dependency('dbus-1') dbus = dependency('dbus-1')