--- src/ui.c.orig 2015-01-15 12:35:26.000000000 +1100 +++ src/ui.c 2019-11-12 07:13:32.000000000 +1100 @@ -685,7 +685,7 @@ int main(int argc, char *argv[]) switch (opt) { case 'd': - if (open_module("passwd.so", &mod) == 0) { + if (open_module("__PREFIX__/lib/userinfo/passwd.so", &mod) == 0) { if (init_module_options(1, NULL, mod)) want_help = 1; } @@ -694,7 +694,7 @@ int main(int argc, char *argv[]) goto cleanup; } - if (open_module("mail.so", &mod) == 0) { + if (open_module("__PREFIX__/lib/userinfo/mail.so", &mod) == 0) { if (init_module_options(1, NULL, mod)) want_help = 1; } @@ -703,7 +703,7 @@ int main(int argc, char *argv[]) goto cleanup; } - if (open_module("login.so", &mod) == 0) { + if (open_module("__PREFIX__/lib/userinfo/login.so", &mod) == 0) { if (init_module_options(1, NULL, mod)) want_help = 1; }