diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-14 14:32:16 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-14 14:32:16 +0000 |
commit | 6656457a0a5706f797c2f1036a93eb75869bea2e (patch) | |
tree | b49b79b40b4e8a868a2c991741a5dfa5dc8d3c4e | |
parent | 2e2468e2d2ccbb9a38fe3b6b754009af7e5d39a9 (diff) |
Fix LIBCLANG_LINK_FLAGS for Darwin.
The previous syntax created a list with the usual semicolon as
separator, which breaks the link command.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127579 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/libclang/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libclang/CMakeLists.txt b/tools/libclang/CMakeLists.txt index 88b8ff28ab..44ac38ff1a 100644 --- a/tools/libclang/CMakeLists.txt +++ b/tools/libclang/CMakeLists.txt @@ -38,8 +38,8 @@ if( LLVM_ENABLE_PIC ) DEFINE_SYMBOL _CINDEX_LIB_) if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set(LIBCLANG_LINK_FLAGS "-Wl,-compatibility_version -Wl,1" - " -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000") + set(LIBCLANG_LINK_FLAGS + "-Wl,-compatibility_version -Wl,1 -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000") set_target_properties(libclang PROPERTIES LINK_FLAGS "${LIBCLANG_LINK_FLAGS}" |