0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-31 01:43:02 +08:00

Merge pull request #2198 from vyskocilm/master

Problem: linking fails on glibc 2.24 with dladdr missing
This commit is contained in:
Constantin Rack 2016-11-06 11:40:47 +01:00 committed by GitHub
commit 067bfa13b8

View File

@ -157,6 +157,11 @@ case "${host_os}" in
AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS])
libzmq_on_linux="yes"
# dladdr/dlopen is in libdl on glibc
AC_SEARCH_LIBS([dladdr], [dl dld], [], [
AC_MSG_ERROR([unable to find the dladdr() function])
])
if test "x$libzmq_tipc_support" = "xyes"; then
AC_DEFINE(ZMQ_HAVE_TIPC, 1, [Have TIPC support])
fi