Set LIBSOCKET instead of augmenting LIBS. Also handle Solaris -lsocket.
[gnulib.git] / modules / sys_select-tests
index ab9e59e..7520ee3 100644 (file)
@@ -16,6 +16,7 @@ configure.ac:
 Makefile.am:
 TESTS += test-sys_select
 check_PROGRAMS += test-sys_select
+test_sys_select_LDADD = $(LDADD) @LIBSOCKET@
 
 License:
 LGPL