diff options
Diffstat (limited to 'modules/pam_unix')
-rw-r--r-- | modules/pam_unix/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pam_unix/Makefile.am b/modules/pam_unix/Makefile.am index d7d61b5a..e8d646a1 100644 --- a/modules/pam_unix/Makefile.am +++ b/modules/pam_unix/Makefile.am @@ -24,9 +24,12 @@ if HAVE_LIBCRACK AM_CFLAGS += -D"USE_CRACKLIB" endif -pam_unix_la_LDFLAGS = -avoid-version -module \ +pam_unix_la_LDFLAGS = -no-undefined -avoid-version -module \ -L$(top_builddir)/modules/pammodutil -lpammodutil \ @LIBCRACK@ @LIBNSL@ +if HAVE_VERSIONING + pam_unix_la_LDFLAGS += -Wl,--version-script=../modules.map +endif securelib_LTLIBRARIES = pam_unix.la |