Skip to content

Commit

Permalink
Fix Autotools-generated libzmq.pc file
Browse files Browse the repository at this point in the history
This change fixes cross-compiling for Windows with static linking.
  • Loading branch information
hebasto committed Mar 20, 2024
1 parent 481cc3f commit 5bd0b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -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"
Expand Down

0 comments on commit 5bd0b91

Please sign in to comment.