From: Tom Yu Date: Sat, 1 Jul 2000 15:34:34 +0000 (+0000) Subject: * lib.in: Fix up lib build rules to deal properly (hopefuly) with X-Git-Tag: krb5-1.3-alpha1~2031 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee9a8248523629f5d95005592d9375c0dcf7ab8c;p=krb5.git * 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 --- 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) $@