1
0
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:
Sébastien Helleu
2016-12-17 17:52:33 +01:00
parent 540ff92280
commit e098a0dc54
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -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]]
+2
View File
@@ -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})
+2 -1
View File
@@ -45,7 +45,8 @@ weechat_LDADD = ./../../core/lib_weechat_core.a \
$(GCRYPT_LFLAGS) \
$(GNUTLS_LFLAGS) \
$(CURL_LFLAGS) \
-lm
-lm \
-lresolv
weechat_SOURCES = main.c