aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLuarocks.cmake
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2021-09-22 21:26:01 +0200
committerGitHub <noreply@github.com>2021-09-22 12:26:01 -0700
commitaba397991b59dbadad21b9ab7ad9f7a3a21f6259 (patch)
tree2b6c0d796dbaa72085d61d7a684940346c63520d /third-party/cmake/BuildLuarocks.cmake
parentd999c96cf3146d4181d5493aa5da94f738dec9d8 (diff)
downloadrneovim-aba397991b59dbadad21b9ab7ad9f7a3a21f6259.tar.gz
rneovim-aba397991b59dbadad21b9ab7ad9f7a3a21f6259.tar.bz2
rneovim-aba397991b59dbadad21b9ab7ad9f7a3a21f6259.zip
build(deps): bump luarocks to 3.7.0 #15740
Besides bugfixes, this brings `XDG_*` compliance and improved robustness, especially for network errors. See https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md - fixup: set LIBUV_LIBDIR to workaround https://github.com/luarocks/luarocks/commit/83126ba324846b754ffc5e0345341f01262b3f86 - https://github.com/luarocks/luarocks/issues/1214 - https://github.com/luarocks/luarocks/pull/1355
Diffstat (limited to 'third-party/cmake/BuildLuarocks.cmake')
-rw-r--r--third-party/cmake/BuildLuarocks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLuarocks.cmake b/third-party/cmake/BuildLuarocks.cmake
index a961ec69c7..0cef37736d 100644
--- a/third-party/cmake/BuildLuarocks.cmake
+++ b/third-party/cmake/BuildLuarocks.cmake
@@ -202,6 +202,11 @@ if(USE_BUNDLED_BUSTED)
set(LUV_ARGS "CFLAGS=-O0 -g3 -fPIC")
if(USE_BUNDLED_LIBUV)
list(APPEND LUV_ARGS LIBUV_DIR=${HOSTDEPS_INSTALL_DIR})
+ # workaround for bug introduced in
+ # https://github.com/luarocks/luarocks/commit/83126ba324846b754ffc5e0345341f01262b3f86
+ if(MSVC)
+ list(APPEND LUV_ARGS LIBUV_LIBDIR=${HOSTDEPS_INSTALL_DIR}/lib)
+ endif()
endif()
SET(LUV_PRIVATE_ARGS LUA_COMPAT53_INCDIR=${DEPS_BUILD_DIR}/src/lua-compat-5.3/c-api)
add_custom_command(OUTPUT ${ROCKS_DIR}/luv