Make sure that 'ranlib' runs only after 'ar' is completed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2009-01-03 01:11:39 +00:00
parent 52d0001cfc
commit 3aec908be1

View File

@ -998,8 +998,7 @@ all-local:: $(LibName.A)
$(LibName.A): $(ObjectsO) $(LibDir)/.dir
$(Echo) Building $(BuildMode) Archive Library $(notdir $@)
-$(Verb) $(RM) -f $@
$(Verb) $(Archive) $@ $(ObjectsO)
-$(Verb) $(Ranlib) $@
$(Verb) $(Archive) $@ $(ObjectsO) && $(Ranlib) $@
clean-local::
ifneq ($(strip $(LibName.A)),)