Allow specifying a file with symbols to export

llvm-svn: 8531
This commit is contained in:
Chris Lattner 2003-09-15 15:06:54 +00:00
parent 6c76d63f28
commit 6abadeddb2

View File

@ -469,7 +469,11 @@ LinkBCLib := $(LLVMGCC) -shared
ifdef EXPORTED_SYMBOL_LIST
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
else
ifdef EXPORTED_SYMBOL_FILE
LinkBCLib += -Xlinker -internalize-public-api-file=$(EXPORTED_SYMBOL_FILE)
else
LinkBCLib += -Xlinker -disable-internalize
endif
endif