From: Richard Levitte Date: Thu, 3 Jul 2003 21:43:50 +0000 (+0000) Subject: Add a slash so grep doesn't return both ./crypto/bio/bss_mem.o and X-Git-Tag: OpenSSL_0_9_6k~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=88489600203d23a3f945360cd4f3814ab9a7a783;p=oweals%2Fopenssl.git Add a slash so grep doesn't return both ./crypto/bio/bss_mem.o and ./crypto/mem.o when we're looking for mem.o. --- diff --git a/Makefile.org b/Makefile.org index a0b883782e..9120dff3a6 100644 --- a/Makefile.org +++ b/Makefile.org @@ -368,7 +368,7 @@ do_svr3-shared: find . -name "*.o" -print > allobjs ; \ OBJS= ; export OBJS ; \ for obj in `ar t lib$$i.a` ; do \ - OBJS="$${OBJS} `grep $$obj allobjs`" ; \ + OBJS="$${OBJS} `grep /$$obj allobjs`" ; \ done ; \ set -x; ${CC} ${SHARED_LDFLAGS} \ -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ @@ -390,7 +390,7 @@ do_svr5-shared: find . -name "*.o" -print > allobjs ; \ OBJS= ; export OBJS ; \ for obj in `ar t lib$$i.a` ; do \ - OBJS="$${OBJS} `grep $$obj allobjs`" ; \ + OBJS="$${OBJS} `grep /$$obj allobjs`" ; \ done ; \ set -x; ${CC} ${SHARED_LDFLAGS} \ $${SHARE_FLAG} -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \