mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
core: fix compilation on Mac OS X (closes #276)
The resolver functions like res_init() require link with resolv.
This commit is contained in:
@@ -51,6 +51,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix compilation on Mac OS X (add link with resolv) (issue #276)
|
||||
* core: add build of xz package with make dist (cmake)
|
||||
|
||||
[[v1.6]]
|
||||
|
||||
@@ -73,6 +73,8 @@ list(APPEND EXTRA_LIBS "m")
|
||||
|
||||
list(APPEND EXTRA_LIBS ${CURL_LIBRARIES})
|
||||
|
||||
list(APPEND EXTRA_LIBS "resolv")
|
||||
|
||||
include_directories(.. ../../core ../../plugins ${NCURSES_INCLUDE_PATH})
|
||||
|
||||
add_library(weechat_gui_curses STATIC ${LIB_GUI_CURSES_SRC})
|
||||
|
||||
@@ -45,7 +45,8 @@ weechat_LDADD = ./../../core/lib_weechat_core.a \
|
||||
$(GCRYPT_LFLAGS) \
|
||||
$(GNUTLS_LFLAGS) \
|
||||
$(CURL_LFLAGS) \
|
||||
-lm
|
||||
-lm \
|
||||
-lresolv
|
||||
|
||||
weechat_SOURCES = main.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user