Adapt to new libtool: the true PIC object files are now under the .libs

subdir, so use those to create libc-client_pic.a.
This commit is contained in:
jlam 2001-03-01 18:29:26 +00:00
parent ca621c745a
commit 720559cd8f

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2001/02/17 18:24:48 wiz Exp $
# $NetBSD: Makefile,v 1.28 2001/03/01 18:29:26 jlam Exp $
DISTNAME= imap-2000c
PKGNAME= imap-uw-2000.0.3nb1
@ -93,9 +93,8 @@ post-extract:
post-build:
${MKDIR} ${WRKDIR}/piclib
cd ${WRKDIR}/piclib; \
for file in ${WRKSRC}/c-client/*.lo; do \
base=`basename $${file} .lo`; \
${LN} -sf $${file} $${base}.o; \
for file in ${WRKSRC}/c-client/.libs/*.o; do \
${LN} -sf $${file} .; \
done; \
${RM} -f ${CCLIENT_PICLIB}; \
${AR} cru ${CCLIENT_PICLIB} *.o; \