diff options
| author | Anbang Wen <xofyarg@gmail.com> | 2022-02-13 15:24:25 -0800 |
|---|---|---|
| committer | jixiuf <jixiuf@qq.com> | 2023-01-30 10:57:40 +0800 |
| commit | e234872bfa9a634770fe50be18805b5e93785f48 (patch) | |
| tree | d9f080d0770a4e9f1a0030edab93802e96d222d9 | |
| parent | 90680707f3af76d3b1e78ae68ac95f9da8c84cbe (diff) | |
add LDFLAGS to statically link libvterm
libvterm defaults to generate a dynamic library, however the emacs
module prefers a static one.
Fix #333
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index db61c5e..4917264 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,7 @@ else() GIT_REPOSITORY https://github.com/Sbozzolo/libvterm-mirror.git GIT_TAG 64f1775952dbe001e989f2ab679563b54f2fca55 CONFIGURE_COMMAND "" - BUILD_COMMAND ${LIBVTERM_BUILD_COMMAND} "CFLAGS='-fPIC'" + BUILD_COMMAND ${LIBVTERM_BUILD_COMMAND} "CFLAGS='-fPIC'" "LDFLAGS='-static'" BUILD_IN_SOURCE ON INSTALL_COMMAND "") |
