I'm trying to write pam module, which uses libs from /usr/local/lib (lber
and lsap). What should i put in Makefile in order to link module with this
libs?
LIBLDAP= /usr/local/lib/ldap.a
LDADD+= -L/usr/local/lib -lldap
LDFLAGS += -L/usr/local/lib -lldap
DPADD= ${LIBCRYPT} ${LIBLDAP}
doesn't help.
Thanks in advance.