diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt index 57148d31b..23a977a46 100644 --- a/src/gui/curses/CMakeLists.txt +++ b/src/gui/curses/CMakeLists.txt @@ -81,7 +81,7 @@ add_executable(${EXECUTABLE} ${WEECHAT_CURSES_MAIN_SRC}) add_dependencies(${EXECUTABLE} weechat_gui_curses) -# Because of a linker bug, we have to link 2 times with libweechat_core.a +# Due to circular references, we must link two times with libweechat_core.a target_link_libraries(${EXECUTABLE} ${STATIC_LIBS} weechat_gui_curses ${EXTRA_LIBS} ${STATIC_LIBS}) install(TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin) diff --git a/src/gui/curses/Makefile.am b/src/gui/curses/Makefile.am index b31073f39..18afc2fd3 100644 --- a/src/gui/curses/Makefile.am +++ b/src/gui/curses/Makefile.am @@ -33,8 +33,8 @@ lib_weechat_gui_curses_a_SOURCES = gui-curses-bar-window.c \ bin_PROGRAMS = weechat -# Because of a linker bug, we have to link 2 times with lib_weechat_core.a -# (and it must be 2 different path/names to be kept by linker) +# Due to circular references, we must link two times with libweechat_core.a +# (and with two different path/names to be kept by linker) weechat_LDADD = ./../../core/lib_weechat_core.a \ ../../plugins/lib_weechat_plugins.a \ ../lib_weechat_gui_common.a \