* src/pam/Makefile.am (pam_poldi.so): Use LDFLAGS and GCC.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 30 Apr 2014 08:15:11 +0000 (17:15 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 30 Apr 2014 08:15:11 +0000 (17:15 +0900)
src/pam/Makefile.am

index a056613..968fb71 100644 (file)
@@ -61,7 +61,7 @@ libpam_poldi_a_SOURCES = \
 
 pam_poldi.so: libpam_poldi.a $(AUTH_METHODS_LIBS) auth-support/libpam-poldi-auth-support.a \
                ../scd/libscd_shared.a ../util/libpoldi-util_shared.a
-       gcc -shared -o pam_poldi.so -Wl,-u,pam_sm_authenticate \
+       $(CC) $(LDFLAGS) -shared -o pam_poldi.so -Wl,-u,pam_sm_authenticate \
                libpam_poldi.a \
                $(AUTH_METHODS_LIBS) auth-support/libpam-poldi-auth-support.a \
                ../scd/libscd_shared.a ../util/libpoldi-util_shared.a ../assuan/libassuan.a \