X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.am;h=c3f512fbd4497467c4b0eb548bcbae2882541740;hb=f36f5f83a39058e3cd16d450f20d20fa32419076;hp=a7d64cf089de78eb5bfad3f05d4154ea9cee6670;hpb=3d40f39afda944dc862001800c0b3696d2f9f181;p=ppp.git diff --git a/pppd/Makefile.am b/pppd/Makefile.am index a7d64cf..c3f512f 100644 --- a/pppd/Makefile.am +++ b/pppd/Makefile.am @@ -127,8 +127,10 @@ if PPP_WITH_IPV6CP pppd_SOURCES += ipv6cp.c eui64.c endif -if WITH_PAM -pppd_LIBS += -lpam -ldl +if PPP_WITH_PAM +pppd_CPPFLAGS += $(PAM_CFLAGS) +pppd_LIBS += $(PAM_LIBS) -ldl +pppd_LDFLAGS += $(PAM_LDFLAGS) endif if PPP_WITH_EAPTLS