summaryrefslogtreecommitdiff
blob: da0b1997f9655083f2b02fce16d32682cebd63d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur gradm2.orig/Makefile gradm2/Makefile
--- gradm2.orig/Makefile	2005-05-14 19:10:34.000000000 +0000
+++ gradm2/Makefile	2005-09-17 14:47:32.573701563 +0000
@@ -53,7 +53,7 @@
 	@if [ ! -f /usr/include/security/pam_appl.h ] ; then \
 		echo "Unable to detect PAM headers, disabling PAM support." ; \
 	else \
-		$(CC) $(CFLAGS) -o $@ gradm_pam.c -lpam -lpam_misc $(LDFLAGS) ; \
+		$(CC) $(CFLAGS) -o $@ gradm_pam.c -lpam -lpam_misc -Wl,-z,now $(LDFLAGS) ; \
 	fi
 
 grlearn: grlearn.c gradm_lib.c grlearn2_config.tab.c lex.grlearn_config.c