Skip to content

Commit e234872

Browse files
xofyargjixiuf
authored andcommitted
add LDFLAGS to statically link libvterm
libvterm defaults to generate a dynamic library, however the emacs module prefers a static one. Fix #333
1 parent 9068070 commit e234872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ else()
7575
GIT_REPOSITORY https://github.com/Sbozzolo/libvterm-mirror.git
7676
GIT_TAG 64f1775952dbe001e989f2ab679563b54f2fca55
7777
CONFIGURE_COMMAND ""
78-
BUILD_COMMAND ${LIBVTERM_BUILD_COMMAND} "CFLAGS='-fPIC'"
78+
BUILD_COMMAND ${LIBVTERM_BUILD_COMMAND} "CFLAGS='-fPIC'" "LDFLAGS='-static'"
7979
BUILD_IN_SOURCE ON
8080
INSTALL_COMMAND "")
8181

0 commit comments

Comments
 (0)