forked from OSchip/llvm-project
[libclang] Check LLVM_HAVE_LINK_VERSION_SCRIPT
There are some platform that might not have version script support, don't try to use version script on those. Reviewed By: MaskRay, hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D106914
This commit is contained in:
parent
571673ce39
commit
e07f9342be
|
@ -76,7 +76,7 @@ endif()
|
|||
|
||||
if (UNIX AND NOT APPLE)
|
||||
set(LLVM_EXPORTED_SYMBOL_FILE)
|
||||
set(USE_VERSION_SCRIPT TRUE)
|
||||
set(USE_VERSION_SCRIPT ${LLVM_HAVE_LINK_VERSION_SCRIPT})
|
||||
endif()
|
||||
|
||||
if (LLVM_EXPORTED_SYMBOL_FILE)
|
||||
|
|
Loading…
Reference in New Issue