forked from OSchip/llvm-project
[CMake] [Darwin] [builtins] Need to special case the naming of the OS X cc_kext builtin library.
llvm-svn: 249870
This commit is contained in:
parent
6b40936b81
commit
2c23a80bbf
|
@ -293,7 +293,11 @@ macro(darwin_add_builtin_libraries)
|
|||
DEFS KERNEL_USE
|
||||
PARENT_TARGET builtins)
|
||||
endforeach()
|
||||
darwin_lipo_libs(clang_rt.cc_kext_${os}
|
||||
set(archive_name clang_rt.cc_kext_${os})
|
||||
if(${os} STREQUAL "osx")
|
||||
set(archive_name clang_rt.cc_kext)
|
||||
endif()
|
||||
darwin_lipo_libs(${archive_name}
|
||||
PARENT_TARGET builtins
|
||||
LIPO_FLAGS ${${os}_cc_kext_lipo_flags}
|
||||
DEPENDS ${${os}_cc_kext_libs}
|
||||
|
|
Loading…
Reference in New Issue