(libobjc.a): If ln fails, copy libobjc.a.

From-SVN: r2619
This commit is contained in:
Richard Stallman 1992-10-26 21:41:18 +00:00
parent e5d4ff0591
commit 7c3b47229e
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ libobjc.a: cc1obj libgcc2.ready
GCC_FOR_TARGET="$${thisdir1}/xgcc -B$${thisdir1}/" \
GCC_CFLAGS="$(GCC_CFLAGS)"
-rm -f libobjc.a
ln objc/libobjc.a .
ln objc/libobjc.a . >/dev/null 2>&1 || cp objc/libobjc.a .
-if $(RANLIB_TEST) ; then $(RANLIB) libobjc.a; else true; fi
# This is used by objc/Makefile if the user runs that directly.