Skip to content

Commit

Permalink
[CMake] Handle 'libtool' being at a path with spaces in it.
Browse files Browse the repository at this point in the history
This can happen on macOS if the user's Xcode is at a path with spaces in it.

llvm-svn: 334632
  • Loading branch information
jrose-apple committed Jun 13, 2018
1 parent cb38fd6 commit d71614a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if(CMAKE_HOST_APPLE AND APPLE)

foreach(lang ${languages})
set(CMAKE_${lang}_CREATE_STATIC_LIBRARY
"${CMAKE_LIBTOOL} -static ${LIBTOOL_NO_WARNING_FLAG} -o <TARGET> \
"\"${CMAKE_LIBTOOL}\" -static ${LIBTOOL_NO_WARNING_FLAG} -o <TARGET> \
<LINK_FLAGS> <OBJECTS> ")
endforeach()
endif()
Expand Down

0 comments on commit d71614a

Please sign in to comment.