mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Don't every allow pam module to get unloaded
The PAM module uses dbus-glib, static gobject types, etc, so it really can't get unloaded. This commit adds some linker-fu to keep it resident even after the pam module closes.
This commit is contained in:
@ -5,7 +5,7 @@ pammoddir=$(libdir)/security
|
||||
|
||||
pam_fprintd_la_SOURCES = pam_fprintd.c $(MARSHALFILES)
|
||||
pam_fprintd_la_CFLAGS = -fPIC $(WARN_CFLAGS) $(GLIB_CFLAGS) -DLOCALEDIR="\"$(localedir)\""
|
||||
pam_fprintd_la_LDFLAGS = -avoid-version -module
|
||||
pam_fprintd_la_LDFLAGS = -avoid-version -module -Wl,-z,nodelete
|
||||
pam_fprintd_la_LIBADD = $(PAM_LIBS) $(GLIB_LIBS)
|
||||
|
||||
MARSHALFILES = marshal.c marshal.h
|
||||
|
||||
Reference in New Issue
Block a user