mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-25 22:30:51 +08: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
|
||||
CPPFLAGS="-DZMQ_STATIC $CPPFLAGS"
|
||||
PKGCFG_LIBS_PRIVATE="$PKGCFG_LIBS_PRIVATE -liphlpapi"
|
||||
PKGCFG_LIBS_PRIVATE="$PKGCFG_LIBS_PRIVATE -liphlpapi -lws2_32"
|
||||
fi
|
||||
# Set FD_SETSIZE to 16384
|
||||
CPPFLAGS=" -DFD_SETSIZE=16384 $CPPFLAGS"
|
||||
|
Loading…
x
Reference in New Issue
Block a user