diff options
| author | Daniel Hahler <git@thequod.de> | 2019-10-14 15:16:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-14 15:16:58 +0200 |
| commit | 2e14dffbb49666bc79c2aa4fd9cea23d7f2f058c (patch) | |
| tree | 6bce877ca9873d8d6036981249129282e8044847 /third-party/cmake/BuildLibvterm.cmake | |
| parent | d0efc1c9062441c9addc846429794ad4a06cc130 (diff) | |
| download | rneovim-2e14dffbb49666bc79c2aa4fd9cea23d7f2f058c.tar.gz rneovim-2e14dffbb49666bc79c2aa4fd9cea23d7f2f058c.tar.bz2 rneovim-2e14dffbb49666bc79c2aa4fd9cea23d7f2f058c.zip | |
deps: pass LDFLAGS+=-static (#11138)
This is required when `build_old_libs=no` is used in `libtool`.
Fixes https://github.com/neovim/neovim/issues/11198
Diffstat (limited to 'third-party/cmake/BuildLibvterm.cmake')
| -rw-r--r-- | third-party/cmake/BuildLibvterm.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLibvterm.cmake b/third-party/cmake/BuildLibvterm.cmake index e4649986af..61c1c90fa6 100644 --- a/third-party/cmake/BuildLibvterm.cmake +++ b/third-party/cmake/BuildLibvterm.cmake @@ -58,6 +58,7 @@ else() set(LIBVTERM_INSTALL_COMMAND ${MAKE_PRG} CC=${DEPS_C_COMPILER} PREFIX=${DEPS_INSTALL_DIR} CFLAGS=-fPIC + LDFLAGS+=-static ${DEFAULT_MAKE_CFLAGS} install) endif() |
