mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
pam: Allow unloading libs that pam_fprintd is linked to
Remove "nodelete" linker flag now that we use sd-bus and not dbus-glib, so that libraries that pam_fprintd links to can be unloaded. This was added because GLib's type system expects to be initialised once and only once per process, and re-loading this type system when it had already been initialised caused crashes.
This commit is contained in:
@ -5,7 +5,7 @@ pammoddir=$(libdir)/security
|
||||
|
||||
pam_fprintd_la_SOURCES = pam_fprintd.c
|
||||
pam_fprintd_la_CFLAGS = -fPIC $(WARN_CFLAGS) $(PAM_MODULE_CFLAGS) -DLOCALEDIR="\"$(localedir)\""
|
||||
pam_fprintd_la_LDFLAGS = -avoid-version -module -Wl,-z,nodelete
|
||||
pam_fprintd_la_LDFLAGS = -avoid-version -module
|
||||
pam_fprintd_la_LIBADD = $(PAM_LIBS) $(PAM_MODULE_LIBS)
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user