when making bytecode modules, link as library

llvm-svn: 47574
This commit is contained in:
Andrew Lenharth 2008-02-25 22:41:55 +00:00
parent c67fa85683
commit 4666486a41

View File

@ -728,7 +728,7 @@ $(warning Modules require llvm-gcc but no llvm-gcc is available ****)
else
Module := $(LibDir)/$(MODULE_NAME).bc
LinkModule := $(LLVMLD) -L$(CFERuntimeLibDir)
LinkModule := $(LLVMLD) -L$(CFERuntimeLibDir) -r
ifdef EXPORTED_SYMBOL_FILE