X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=e14f4a25ee661c60f57923a17b858a2931acdca0;hb=0f4a4350579604c874e1ad4b741f9b059f3585f3;hp=56a73a836be73557d017b8b2bdf61989b2eb3031;hpb=789840741cc680908754531a3fcb59d313276677;p=libsigrok.git diff --git a/configure.ac b/configure.ac index 56a73a83..e14f4a25 100644 --- a/configure.ac +++ b/configure.ac @@ -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.