summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nsswitch/wscript_build1
-rw-r--r--source3/pam_smbpass/wscript_build1
2 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 47f6fbcc23..298da06001 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -27,6 +27,7 @@ if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
deps='intl talloc wbclient winbind-client LIBINIPARSER pam',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_winbind.so',
+ install_path='${PAMMODULESDIR}'
)
if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
diff --git a/source3/pam_smbpass/wscript_build b/source3/pam_smbpass/wscript_build
index c8010e49cd..633d9b74ac 100644
--- a/source3/pam_smbpass/wscript_build
+++ b/source3/pam_smbpass/wscript_build
@@ -10,4 +10,5 @@ if bld.CONFIG_SET('WITH_PAM_MODULES'):
LIBNTLMSSP LIBTSOCKET''',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_smbpass.so',
+ install_path='${PAMMODULESDIR}'
)