File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -900,10 +900,14 @@ endif()
900900# If everything else if insufficient, the user can specify
901901# -DCOMPILER_RT_LIBDIR_CONFIG to embed an arbitrary value.
902902if (NOT DEFINED COMPILER_RT_LIBDIR_CONFIG)
903- set (COMPILER_RT_LIBDIR_CONFIG "${COMPILER_RT_LIBDIR} " )
903+ if (NOT LDC_INSTALL_LLVM_RUNTIME_LIBS)
904+ set (COMPILER_RT_LIBDIR_CONFIG "${COMPILER_RT_LIBDIR} " )
905+ endif ()
906+ endif ()
907+ if (DEFINED COMPILER_RT_LIBDIR_CONFIG)
908+ message (STATUS "Adding ${COMPILER_RT_LIBDIR_CONFIG} to lib-dirs in configuration file" )
909+ set (OPTIONAL_COMPILER_RT_DIR "\n \" ${COMPILER_RT_LIBDIR_CONFIG} \" , // compiler-rt directory" )
904910endif ()
905- message (STATUS "Adding ${COMPILER_RT_LIBDIR_CONFIG} to lib-dirs in configuration file" )
906- set (OPTIONAL_COMPILER_RT_DIR "\n \" ${COMPILER_RT_LIBDIR_CONFIG} \" , // compiler-rt directory" )
907911
908912#
909913# Auxiliary build and test utils.
You can’t perform that action at this time.
0 commit comments