diff options
author | Bruno Haible <bruno@clisp.org> | 2016-12-18 00:38:37 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2016-12-18 00:41:01 +0100 |
commit | f9c744dbd9527cc69be7f4f4ff712dd13b0ebedf (patch) | |
tree | 2ad9d51e6422f27e29acfcdabb41f3bb5969cb14 /modules/getlogin-tests | |
parent | 15bde6cfc0288f14d7a3140b22c56edbe954a89d (diff) | |
download | gnulib-f9c744dbd9527cc69be7f4f4ff712dd13b0ebedf.tar.gz |
getlogin, getlogin_r: Fix link errors on MSVC.
* m4/getlogin.m4 (gl_LIB_GETLOGIN): New macro.
* modules/getlogin (configure.ac): Require gl_LIB_GETLOGIN.
(Link): New section.
* modules/getlogin_r (Files): Add m4/getlogin.m4.
(configure.ac): Require gl_LIB_GETLOGIN.
(Link): New section.
* NEWS: Mention the new link requirements.
* modules/getlogin-tests (test_getlogin_LDADD): New variable.
* modules/getlogin_r-tests (test_getlogin_r_LDADD): New variable.
Diffstat (limited to 'modules/getlogin-tests')
-rw-r--r-- | modules/getlogin-tests | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/getlogin-tests b/modules/getlogin-tests index 6facd60fb0..c8cdb05eb0 100644 --- a/modules/getlogin-tests +++ b/modules/getlogin-tests @@ -11,3 +11,4 @@ AC_CHECK_FUNCS_ONCE([ttyname]) Makefile.am: TESTS += test-getlogin check_PROGRAMS += test-getlogin +test_getlogin_LDADD = $(LDADD) $(LIB_GETLOGIN) |