forked from OSchip/llvm-project
Allow specifying a file with symbols to export
llvm-svn: 8531
This commit is contained in:
parent
6d5e3a0df3
commit
65568e89fb
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue