mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
build: Compile static luajit lib with -fPIC #996
Should fix the following travis error: /usr/bin/ld: /opt/neovim-deps/lib/libluajit-5.1.a(lj_err.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /opt/neovim-deps/lib/libluajit-5.1.a: could not read symbols: Bad value
This commit is contained in:
parent
d203c37e21
commit
4dadadd001
1
third-party/CMakeLists.txt
vendored
1
third-party/CMakeLists.txt
vendored
@ -115,6 +115,7 @@ if(USE_BUNDLED_LUAJIT)
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND ${MAKE_PRG} CC=${CMAKE_C_COMPILER}
|
||||
PREFIX=${DEPS_INSTALL_DIR}
|
||||
CFLAGS=-fPIC
|
||||
BUILDMODE=static
|
||||
install)
|
||||
list(APPEND THIRD_PARTY_DEPS luajit)
|
||||
|
Loading…
Reference in New Issue
Block a user