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 6d5e3a0df3
commit 65568e89fb
1 changed files with 4 additions and 0 deletions

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