summaryrefslogtreecommitdiff
path: root/Makefile.Debian
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.Debian')
-rw-r--r--Makefile.Debian6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.Debian b/Makefile.Debian
index 2b9e302..597c53a 100644
--- a/Makefile.Debian
+++ b/Makefile.Debian
@@ -3,9 +3,9 @@
TITLE=pam_pwdfile
CC = gcc
-LD = ld
-CFLAGS = -fPIC -c -g -Wall -Wformat-security
-LDFLAGS = -x --shared
+LD = gcc
+CFLAGS = -fPIC -c -g -Wall -Wformat-security -fvisibility=hidden
+LDFLAGS = -Wl,-x --shared
LDLIBS = -lcrypt -lpam -lpam_misc
LIBSRC = $(TITLE).c
LIBOBJ = $(TITLE).o md5_good.o md5_broken.o md5_crypt_good.o md5_crypt_broken.o bigcrypt.o