mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Fix Autotools-generated libzmq.pc
file
This change fixes cross-compiling for Windows with static linking.
This commit is contained in:
parent
481cc3fa2c
commit
45b2924a0a
@ -362,7 +362,7 @@ case "${host_os}" in
|
|||||||
|
|
||||||
if test "x$enable_static" = "xyes"; then
|
if test "x$enable_static" = "xyes"; then
|
||||||
CPPFLAGS="-DZMQ_STATIC $CPPFLAGS"
|
CPPFLAGS="-DZMQ_STATIC $CPPFLAGS"
|
||||||
PKGCFG_LIBS_PRIVATE="$PKGCFG_LIBS_PRIVATE -liphlpapi"
|
PKGCFG_LIBS_PRIVATE="$PKGCFG_LIBS_PRIVATE -liphlpapi -lws2_32"
|
||||||
fi
|
fi
|
||||||
# Set FD_SETSIZE to 16384
|
# Set FD_SETSIZE to 16384
|
||||||
CPPFLAGS=" -DFD_SETSIZE=16384 $CPPFLAGS"
|
CPPFLAGS=" -DFD_SETSIZE=16384 $CPPFLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user