diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-07-20 13:16:31 +0200 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-07-20 13:56:17 +0200 |
commit | a9a26fe1a2e8ecfe3bbbeea3143bdabaf62ffc4c (patch) | |
tree | 0e23714f5b4ac1f18603c2c3c4f464ea599e1678 /src | |
parent | 5caae0d24db8c739d3b659ec1b6a0e9e6641a571 (diff) |
openrc-pam: use 'shared_module' for pam_openrc
fixes the undefined reference build failure on freebsd, allowing the
module to build while referencing 'environ' in misc.c.
it also is the more correct meson function for pam modules.
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'src')
-rw-r--r-- | src/openrc-pam/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openrc-pam/meson.build b/src/openrc-pam/meson.build index fa9de471..9b87bafa 100644 --- a/src/openrc-pam/meson.build +++ b/src/openrc-pam/meson.build @@ -1,5 +1,5 @@ if get_option('pam') and pam_dep.found() - shared_library('pam_openrc', + shared_module('pam_openrc', ['openrc-pam.c', misc_c, version_h], c_args : [cc_branding_flags], dependencies : [pam_dep], |