mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-29 08:39:42 +08:00
Merge pull request #2198 from vyskocilm/master
Problem: linking fails on glibc 2.24 with dladdr missing
This commit is contained in:
commit
067bfa13b8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user