From: Oscar Fuentes Date: Mon, 14 Mar 2011 14:32:16 +0000 (+0000) Subject: Fix LIBCLANG_LINK_FLAGS for Darwin. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6656457a0a5706f797c2f1036a93eb75869bea2e;p=clang 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 --- 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}"