From a9a26fe1a2e8ecfe3bbbeea3143bdabaf62ffc4c Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Sat, 20 Jul 2024 13:16:31 +0200 Subject: 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 --- src/openrc-pam/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], -- cgit v1.2.3