On Fri, May 04, 2001 at 01:30:53AM +0000,
Sam Varshavchik <mrs...@courier-mta.com> is thought to have said:
Tabor J. Wells writes:
In authlib/Makefile NETLIBS is defined but never referred to.
Of course it is:
NETLIBS = @NETLIBS@
authmysql_LDADD = libauthmod.a libauth.a @HMACLIB@ @MD5LIB@ @SHA1LIB@
@SHA1LIB@ $(CRYPTLIBS) @MYSQL_LIBS@ @LIBM@ @NETLIBS@
authldap_LDADD = libauthmod.a libauth.a @HMACLIB@ @MD5LIB@ @SHA1LIB@
@LDAPLIBS@ $(CRYPTLIBS) @NETLIBS@
authdaemon_LDADD = libauthmod.a libauth.a ../numlib/libnumlib.a @NETLIBS@
authdaemontest_LDADD = libauth.a libauthmod.a ../numlib/libnumlib.a
@NETLIBS@
authmksock_LDADD = @NETLIBS@
echo @HMACLIB@ @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) @MYSQL_LIBS@ @LIBM@
@NETLIBS@ > authmysql.libsdep
echo @HMACLIB@ @MD5LIB@ @SHA1LIB@ @LDAPLIBS@ $(CRYPTLIBS) @NETLIBS@\
echo ../numlib/libnumlib.a @NETLIBS@ >authdaemon.libsdep
The attached patch to authlib/Makefile.in fixes this and allows
Courier-IMAP to compile clean on Solaris.
No, Homey don't do dat. What target needs NETLIBS? The right fix is to fix
the target with the dependency.
Ah. I understad what you're saying. Looks like it's authpam. How about
this patch instead? BTW this was on Solaris 7
Tabor
*** authlib/Makefile.in.orig Thu May 3 20:58:14 2001
--- authlib/Makefile.in Thu May 3 23:45:07 2001
***************
*** 1369,1375 ****
$(authcustomlibsdep) \
/dev/null | @SHELL@ $(srcdir)/libauth.sh @SHELL@ $(srcdir) >libauth1.dep
authpam.libsdep: authpam
! echo -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@ >authpam.libsdep
authpwd.libsdep: authpwd
echo @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authpwd.libsdep
authshadow.libsdep: authshadow
--- 1369,1375 ----
$(authcustomlibsdep) \
/dev/null | @SHELL@ $(srcdir)/libauth.sh @SHELL@ $(srcdir) >libauth1.dep
authpam.libsdep: authpam
! echo -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@ @NETLIBS@ >authpam.libsdep
authpwd.libsdep: authpwd
echo @MD5LIB@ @SHA1LIB@ $(CRYPTLIBS) >authpwd.libsdep
authshadow.libsdep: authshadow