aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLibtermkey.cmake
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-10-14 15:16:58 +0200
committerGitHub <noreply@github.com>2019-10-14 15:16:58 +0200
commit2e14dffbb49666bc79c2aa4fd9cea23d7f2f058c (patch)
tree6bce877ca9873d8d6036981249129282e8044847 /third-party/cmake/BuildLibtermkey.cmake
parentd0efc1c9062441c9addc846429794ad4a06cc130 (diff)
downloadrneovim-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/BuildLibtermkey.cmake')
-rw-r--r--third-party/cmake/BuildLibtermkey.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLibtermkey.cmake b/third-party/cmake/BuildLibtermkey.cmake
index b2332ed65a..10e98fbab3 100644
--- a/third-party/cmake/BuildLibtermkey.cmake
+++ b/third-party/cmake/BuildLibtermkey.cmake
@@ -48,6 +48,7 @@ ExternalProject_Add(libtermkey
PREFIX=${DEPS_INSTALL_DIR}
PKG_CONFIG_PATH=${DEPS_LIB_DIR}/pkgconfig
CFLAGS=-fPIC
+ LDFLAGS+=-static
${DEFAULT_MAKE_CFLAGS}
install)
endif()