Skip to content

Commit f82a80f

Browse files
committed
Check for an actual library symbol in order to link Win32-specific libs.
1 parent c4be98e commit f82a80f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.ac

+3-3
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ AC_SEARCH_LIBS(recvfrom, [socket])
240240
AC_SEARCH_LIBS(kvm_open, [kvm])
241241

242242
AS_IF([echo `(uname -s) 2>/dev/null` | $GREP "CYGWIN" > /dev/null], [
243-
AC_CHECK_LIB([ws2_32], [printf])
244-
AC_CHECK_LIB([psapi], [printf])
245-
AC_CHECK_LIB([iphlpapi], [printf])
243+
AC_CHECK_LIB([ws2_32], [_head_libws2_32_a])
244+
AC_CHECK_LIB([psapi], [_head_libpsapi_a])
245+
AC_CHECK_LIB([iphlpapi], [_head_libiphlpapi_a])
246246
], [ ])
247247

248248
AC_CHECK_HEADER([CoreServices/CoreServices.h],

0 commit comments

Comments
 (0)