reference other libraries from their relative location.

This commit is contained in:
mrg 2008-10-27 07:26:29 +00:00
parent 0624cb55ce
commit 604c46c98f
2 changed files with 5 additions and 5 deletions
external/bsd/openldap/lib
libldap
libldap_r

@ -1,4 +1,4 @@
# $NetBSD: Makefile.libldap,v 1.3 2008/08/31 10:29:51 mrg Exp $
# $NetBSD: Makefile.libldap,v 1.4 2008/10/27 07:26:29 mrg Exp $
.include "../../openldap.mk"
@ -26,6 +26,6 @@ CPPFLAGS+= -DLDAP_LIBRARY
LIBDPLIBS+= lber ${.CURDIR}/../liblber
.if ${MKCRYPTO} != "no"
LIBDPLIBS+= crypto ${NETBSDSRCDIR}/lib/libcrypto
LIBDPLIBS+= ssl ${NETBSDSRCDIR}/lib/libssl
LIBDPLIBS+= crypto ${.CURDIR}/../../../../../lib/libcrypto
LIBDPLIBS+= ssl ${.CURDIR}/../../../../../lib/libssl
.endif

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2008/05/27 08:58:26 lukem Exp $
# $NetBSD: Makefile,v 1.3 2008/10/27 07:26:29 mrg Exp $
USE_FORT?= yes
@ -15,6 +15,6 @@ SRCS+= threads.c rdwr.c rmutex.c tpool.c rq.c \
CPPFLAGS+= -DLDAP_R_COMPILE
COPTS+= -pthread
LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
LIBDPLIBS+= pthread ${.CURDIR}/../../../../../lib/libpthread
.include <bsd.lib.mk>