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/BuildLibtermkey.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/BuildLibtermkey.cmake')
-rw-r--r-- | third-party/cmake/BuildLibtermkey.cmake | 1 |
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() |