]>
Commit | Line | Data |
---|---|---|
6ffa5f15 ER |
1 | Don't allow PAM module to get unloaded |
2 | ||
3 | It uses libraries which can't handle being unloaded very | |
4 | gracefully. | |
5 | ||
6 | http://bugs.freedesktop.org/show_bug.cgi?id=31503 | |
7 | ||
8 | diff -up fprintd-0.2.0/pam/Makefile.am.dont-ever-unload fprintd-0.2.0/pam/Makefile.am | |
9 | --- fprintd-0.2.0/pam/Makefile.am.dont-ever-unload 2010-11-09 10:55:30.452135193 -0500 | |
10 | +++ fprintd-0.2.0/pam/Makefile.am 2010-11-09 10:55:32.954860614 -0500 | |
11 | @@ -5,7 +5,7 @@ pammoddir=$(libdir)/security | |
12 | ||
13 | pam_fprintd_la_SOURCES = pam_fprintd.c $(MARSHALFILES) | |
14 | pam_fprintd_la_CFLAGS = -fPIC $(WARN_CFLAGS) $(GLIB_CFLAGS) | |
15 | -pam_fprintd_la_LDFLAGS = -avoid-version -module | |
16 | +pam_fprintd_la_LDFLAGS = -avoid-version -module -Wl,-z,nodelete | |
17 | pam_fprintd_la_LIBADD = $(PAM_LIBS) $(GLIB_LIBS) | |
18 | ||
19 | MARSHALFILES = marshal.c marshal.h |