mirror of
https://github.com/zeromq/libzmq
synced 2025-03-28 21:13:24 +00: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
5bd0b91a64
@ -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