From: Richard Levitte Date: Thu, 3 Jul 2003 21:43:39 +0000 (+0000) Subject: Add a slash so grep doesn't return both ./crypto/bio/bss_mem.o and X-Git-Tag: OpenSSL_0_9_7c~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82f676c633ec5dcab0d5a43ac63c4e1146738936;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 9b8dcde913..a7bc88cccf 100644 --- a/Makefile.org +++ b/Makefile.org @@ -411,7 +411,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} \ @@ -436,7 +436,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; LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ ${CC} ${SHARED_LDFLAGS} \