mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
third-party: Windows fix for luv build recipe
The argument quotes in the luv build recipe did not work in Windows.
This commit is contained in:
committed by
Rui Abreu Ferreira
parent
bed61041a0
commit
703cf3197f
4
third-party/cmake/BuildLuarocks.cmake
vendored
4
third-party/cmake/BuildLuarocks.cmake
vendored
@@ -153,9 +153,9 @@ if(USE_BUNDLED_BUSTED)
|
||||
if(MINGW AND CMAKE_CROSSCOMPILING)
|
||||
set(LUV_DEPS ${LUV_DEPS} libuv_host)
|
||||
endif()
|
||||
set(LUV_ARGS CFLAGS='-O0 -g3 -fPIC')
|
||||
set(LUV_ARGS "CFLAGS=-O0 -g3 -fPIC")
|
||||
if(USE_BUNDLED_LIBUV)
|
||||
set(LUV_ARGS LIBUV_DIR=${HOSTDEPS_INSTALL_DIR} CFLAGS='-O0 -g3 -fPIC')
|
||||
list(APPEND LUV_ARGS LIBUV_DIR=${HOSTDEPS_INSTALL_DIR})
|
||||
endif()
|
||||
add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/luv
|
||||
COMMAND ${LUAROCKS_BINARY}
|
||||
|
||||
Reference in New Issue
Block a user