From ee9a8248523629f5d95005592d9375c0dcf7ab8c Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 1 Jul 2000 15:34:34 +0000 Subject: [PATCH] * lib.in: Fix up lib build rules to deal properly (hopefuly) with empty objlist files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12506 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/ChangeLog | 5 +++++ src/config/lib.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/config/ChangeLog b/src/config/ChangeLog index d49064567..59075fb65 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2000-07-01 Tom Yu + + * lib.in: Fix up lib build rules to deal properly (hopefuly) with + empty objlist files. + 2000-06-30 Danilo Almeida * win-pre.in: Fix up DNS build flags to correspond to new DNS diff --git a/src/config/lib.in b/src/config/lib.in index 203376ec1..54f7f1ecd 100644 --- a/src/config/lib.in +++ b/src/config/lib.in @@ -78,7 +78,7 @@ lib$(LIB)$(STLIBEXT): $(STOBJLISTS) @dirs=`echo $(STOBJLISTS) | \ sed -e 's%/OBJS.ST%%g' -e 's%OBJS.ST%.%'`; \ $(AR) cq $@ `for d in $$dirs; do \ - sed -e "s%^%$$d/%" -e "s% % $$d/%g" \ + sed -e '/^$$/d' -e "s%^%$$d/%" -e "s% % $$d/%g" \ $$d/OBJS.ST; done` $(RANLIB) $@ @@ -88,7 +88,7 @@ lib$(LIB)$(SHLIBVEXT): $(SHOBJLISTS) $(SHLIB_EXPDEPS) @dirs=`echo $(SHOBJLISTS) | \ sed -e 's%/OBJS.SH%%g' -e 's%OBJS.SH%.%'`; \ $(LDCOMBINE) -o $@ `for d in $$dirs; do \ - sed -e "s%^%$$d/%" -e "s% % $$d/%g" \ + sed -e '/^$$/d' -e "s%^%$$d/%" -e "s% % $$d/%g" \ $$d/OBJS.SH; done` \ $(SHLIB_EXPFLAGS) \ $(LDCOMBINE_TAIL) @@ -105,7 +105,7 @@ lib$(LIB)$(PFLIBEXT): $(PFOBJLISTS) @dirs=`echo $(PFOBJLISTS) | \ sed -e 's%/OBJS.PF%%g' -e 's%OBJS.PF%.%'`; \ $(AR) cq $@ `for d in $$dirs; do \ - sed -e "s%^%$$d/%" -e "s% % $$d/%g" \ + sed -e '/^$$/d' -e "s%^%$$d/%" -e "s% % $$d/%g" \ $$d/OBJS.PF; done` $(RANLIB) $@ -- 2.26.2