socket functions: Avoid link errors on Solaris.
[gnulib.git] / modules / sendto
index b28a7ea..847699d 100644 (file)
@@ -7,6 +7,7 @@ lib/w32sock.h
 
 Depends-on:
 sys_socket
+socketlib
 errno           [test "$ac_cv_header_winsock2_h" = yes]
 
 configure.ac:
@@ -21,6 +22,9 @@ Makefile.am:
 Include:
 <sys/socket.h>
 
+Link:
+$(LIBSOCKET)
+
 License:
 LGPLv2+