mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
17 lines
657 B
Diff
17 lines
657 B
Diff
diff --git a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
|
|
index f1f46fb9599c..6f19e69507ba 100644
|
|
--- a/cmake/Modules/CompilerRTUtils.cmake
|
|
+++ b/cmake/Modules/CompilerRTUtils.cmake
|
|
@@ -302,8 +302,9 @@ macro(load_llvm_config)
|
|
# Get some LLVM variables from LLVMConfig.
|
|
include("${LLVM_CMAKE_PATH}/LLVMConfig.cmake")
|
|
|
|
- set(LLVM_LIBRARY_OUTPUT_INTDIR
|
|
- ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
|
|
+ get_filename_component(LLVM_LIBRARY_OUTPUT_INTDIR
|
|
+ ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX}
|
|
+ REALPATH)
|
|
endif()
|
|
endmacro()
|
|
|