summaryrefslogtreecommitdiff
path: root/modules/pselect-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-09-22 23:45:06 +0200
committerBruno Haible <bruno@clisp.org>2011-09-22 23:45:06 +0200
commitd7255651d7f2040807a6dc32df6363a60f2c69c6 (patch)
tree29fb4e5ae423ca29afad63d5b923d6307fa111bd /modules/pselect-tests
parent9db21df32bfd7af0ddc7bad2eda5050a1e96743f (diff)
downloadgnulib-d7255651d7f2040807a6dc32df6363a60f2c69c6.tar.gz
select: Avoid link errors on MSVC.
* m4/select.m4 (gl_FUNC_SELECT): Determine LIB_SELECT. * modules/select (Link): Replace $(LIBSOCKET) with $(LIB_SELECT). * modules/pselect (Link): Likewise. * NEWS: Mention the change. * modules/select-tests (Makefile.am): Link test-select, test-select-fd, test-select-stdin against $(LIB_SELECT). * modules/pselect-tests (Makefile.am): Link test-pselect against $(LIB_SELECT).
Diffstat (limited to 'modules/pselect-tests')
-rw-r--r--modules/pselect-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pselect-tests b/modules/pselect-tests
index 0dccb3634d..0c37ff6abf 100644
--- a/modules/pselect-tests
+++ b/modules/pselect-tests
@@ -30,4 +30,4 @@ AC_CHECK_HEADERS_ONCE([sys/wait.h])
Makefile.am:
TESTS += test-pselect
check_PROGRAMS += test-pselect
-test_pselect_LDADD = $(LDADD) @LIBSOCKET@ @LIB_PTHREAD_SIGMASK@ $(INET_PTON_LIB)
+test_pselect_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ @LIB_PTHREAD_SIGMASK@ $(INET_PTON_LIB)