summaryrefslogtreecommitdiff
blob: 02422ccd36e2f427063a1a314e9e1ec075c383d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -r 74cba81d489b libpam/Makefile
--- a/libpam/Makefile	Sun Sep 19 10:37:52 2010 -0700
+++ b/libpam/Makefile	Tue Nov 23 10:50:15 2010 +0900
@@ -35,10 +35,10 @@
 	$(RM) *.o *.so google-authenticator pam_google_authenticator_unittest
 
 google-authenticator: google-authenticator.o base32.o hmac.o sha1.o
-	$(CC) -g $(LDFLAGS) -ldl -o $@ $+
+	$(CC) -g $(LDFLAGS) -rdynamic -o $@ $+ -ldl
 
 pam_google_authenticator_unittest: pam_google_authenticator_unittest.o base32.o
-	$(CC) -g $(LDFLAGS) -rdynamic -ldl -lc -o $@ $+
+	$(CC) -g $(LDFLAGS) -rdynamic -o $@ $+ -ldl -lc
 
 pam_google_authenticator.so: base32.o hmac.o sha1.o
 pam_google_authenticator_testing.so: base32.o hmac.o sha1.o