Merge pull request #3986 from fanquake/ipc_mingw_cross_compile

build: disable IPC when cross-compiling with mingw
This commit is contained in:
Luca Boccassi 2020-07-07 09:11:42 +01:00 committed by GitHub
commit 1529ffbf42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,9 +143,9 @@ if test "x$zmq_militant" = "xyes"; then
AC_DEFINE(ZMQ_ACT_MILITANT, 1, [Enable militant API assertions])
fi
# IPC is available on all platforms supported by autotools build at the moment except OpenVMS and VxWorks.
# Disable IPC on unsupported platforms.
case "${host_os}" in
*vxworks*|*openvms*)
*vxworks*|*openvms*|*mingw*)
;;
*)
AC_DEFINE(ZMQ_HAVE_IPC, 1, [Have AF_UNIX sockets for ipc transport])