Link against the ws2_32 library on Windows.
This commit is contained in:
parent
789840741c
commit
1c6736ab86
|
@ -242,6 +242,12 @@ AC_ARG_ENABLE(zeroplus-logic-cube,
|
|||
|
||||
# Checks for libraries.
|
||||
|
||||
case "$host" in
|
||||
*mingw*)
|
||||
# We need to link against the Winsock2 library for SCPI over TCP.
|
||||
LIBS="$LIBS -lws2_32";;
|
||||
esac
|
||||
|
||||
# This variable collects the pkg-config names of all detected libs.
|
||||
# It is then used to construct the "Requires.private:" field in the
|
||||
# libsigrok.pc file.
|
||||
|
|
Loading…
Reference in New Issue