From: Daniel Dunbar Date: Fri, 28 Aug 2009 16:14:46 +0000 (+0000) Subject: Fix creation of .bca libraries with EXPORTED_SYMBOLS_LIST, this was putting the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e5f1b2f527eeb6d8ae7563ba7eea2e7d475f391a;p=oota-llvm.git Fix creation of .bca libraries with EXPORTED_SYMBOLS_LIST, this was putting the llvm-ld shell wrapper script in the archive, not the relinked object! Also, rename the temp file to avoid conflicts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80373 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 5556684d5b7..23e554d7320 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1058,9 +1058,9 @@ $(LibName.BCA): $(ObjectsBC) $(LibDir)/.dir $(LLVMLD) \ $(LLVMToolDir)/llvm-ar $(Echo) Building $(BuildMode) Bytecode Archive $(notdir $@) \ "(internalize)" - $(Verb) $(BCLinkLib) -o $(ObjDir)/$(LIBRARYNAME).o $(ObjectsBC) + $(Verb) $(BCLinkLib) -o $(ObjDir)/$(LIBRARYNAME).internalize $(ObjectsBC) $(Verb) $(RM) -f $@ - $(Verb) $(LArchive) $@ $(ObjDir)/$(LIBRARYNAME).o + $(Verb) $(LArchive) $@ $(ObjDir)/$(LIBRARYNAME).internalize.bc else $(LibName.BCA): $(ObjectsBC) $(LibDir)/.dir \ $(LLVMToolDir)/llvm-ar