summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-06-27 11:47:59 +0200
committerBruno Haible <bruno@clisp.org>2020-06-27 11:47:59 +0200
commita9e307a55f6af7dc23c308a99fd6448f1611bfa9 (patch)
tree03c8b515d972578060bff4a24342d4ad3a029b1c /modules
parent9754bbd7939a4374158b905324f5f804b5757377 (diff)
downloadgnulib-a9e307a55f6af7dc23c308a99fd6448f1611bfa9.tar.gz
tempname et al.: Fix link errors on MSVC (regression from 2020-05-31).
* modules/tempname (Link): New section. * modules/mkdtemp (Link): Likewise. * modules/clean-temp (Link): Likewise. * modules/mkstemp (Link): Likewise. * modules/stdlib-safer (Link): Likewise. * modules/mkstemps (Link): Likewise. * modules/mkostemp (Link): Likewise. * modules/mkostemps (Link): Likewise. * modules/tmpfile (Link): Likewise. * modules/tmpfile-safer (Link): Likewise. * modules/javacomp (Link): Add $(LIB_GETRANDOM). * modules/argv-iter-tests (Makefile.am): Link test-argv-iter with $(LIB_GETRANDOM). * NEWS: Mention the changes.
Diffstat (limited to 'modules')
-rw-r--r--modules/argv-iter-tests1
-rw-r--r--modules/clean-temp3
-rw-r--r--modules/javacomp1
-rw-r--r--modules/mkdtemp3
-rw-r--r--modules/mkostemp3
-rw-r--r--modules/mkostemps3
-rw-r--r--modules/mkstemp3
-rw-r--r--modules/mkstemps3
-rw-r--r--modules/stdlib-safer3
-rw-r--r--modules/tempname3
-rw-r--r--modules/tmpfile3
-rw-r--r--modules/tmpfile-safer3
12 files changed, 32 insertions, 0 deletions
diff --git a/modules/argv-iter-tests b/modules/argv-iter-tests
index f32587e050..97cbe50e9f 100644
--- a/modules/argv-iter-tests
+++ b/modules/argv-iter-tests
@@ -10,3 +10,4 @@ configure.ac:
Makefile.am:
TESTS += test-argv-iter
check_PROGRAMS += test-argv-iter
+test_argv_iter_LDADD = $(LDADD) $(LIB_GETRANDOM)
diff --git a/modules/clean-temp b/modules/clean-temp
index d5c44ee294..abed9b9a78 100644
--- a/modules/clean-temp
+++ b/modules/clean-temp
@@ -31,6 +31,9 @@ lib_SOURCES += clean-temp.h clean-temp.c
Include:
"clean-temp.h"
+Link:
+$(LIB_GETRANDOM)
+
License:
GPL
diff --git a/modules/javacomp b/modules/javacomp
index 055279771f..5f8f60f55d 100644
--- a/modules/javacomp
+++ b/modules/javacomp
@@ -43,6 +43,7 @@ Include:
Link:
$(LIB_MBRTOWC)
+$(LIB_GETRANDOM)
License:
GPL
diff --git a/modules/mkdtemp b/modules/mkdtemp
index 3bd83e2262..13b2d5affd 100644
--- a/modules/mkdtemp
+++ b/modules/mkdtemp
@@ -23,6 +23,9 @@ Makefile.am:
Include:
<stdlib.h>
+Link:
+$(LIB_GETRANDOM)
+
License:
LGPLv2+
diff --git a/modules/mkostemp b/modules/mkostemp
index afa49d60e7..460e842cdc 100644
--- a/modules/mkostemp
+++ b/modules/mkostemp
@@ -26,6 +26,9 @@ Makefile.am:
Include:
<stdlib.h>
+Link:
+$(LIB_GETRANDOM)
+
License:
LGPLv2+
diff --git a/modules/mkostemps b/modules/mkostemps
index fb956f9c5a..bb9fe716b7 100644
--- a/modules/mkostemps
+++ b/modules/mkostemps
@@ -25,6 +25,9 @@ Makefile.am:
Include:
<stdlib.h>
+Link:
+$(LIB_GETRANDOM)
+
License:
LGPLv2+
diff --git a/modules/mkstemp b/modules/mkstemp
index 780908fea0..d985715836 100644
--- a/modules/mkstemp
+++ b/modules/mkstemp
@@ -24,6 +24,9 @@ Makefile.am:
Include:
<stdlib.h>
+Link:
+$(LIB_GETRANDOM)
+
License:
LGPLv2+
diff --git a/modules/mkstemps b/modules/mkstemps
index 61af8d5fcd..1e5f0974c5 100644
--- a/modules/mkstemps
+++ b/modules/mkstemps
@@ -24,6 +24,9 @@ Makefile.am:
Include:
<stdlib.h>
+Link:
+$(LIB_GETRANDOM)
+
License:
LGPLv2+
diff --git a/modules/stdlib-safer b/modules/stdlib-safer
index 8dbd682b46..80414b3207 100644
--- a/modules/stdlib-safer
+++ b/modules/stdlib-safer
@@ -20,6 +20,9 @@ lib_SOURCES += mkstemp-safer.c
Include:
"stdlib-safer.h"
+Link:
+$(LIB_GETRANDOM)
+
License:
GPL
diff --git a/modules/tempname b/modules/tempname
index 0f692d3d7c..ca885220c2 100644
--- a/modules/tempname
+++ b/modules/tempname
@@ -26,6 +26,9 @@ lib_SOURCES += tempname.c
Include:
"tempname.h"
+Link:
+$(LIB_GETRANDOM)
+
License:
LGPLv2+
diff --git a/modules/tmpfile b/modules/tmpfile
index 884f284f22..20b88c81a4 100644
--- a/modules/tmpfile
+++ b/modules/tmpfile
@@ -26,6 +26,9 @@ Makefile.am:
Include:
<stdio.h>
+Link:
+$(LIB_GETRANDOM)
+
License:
LGPL
diff --git a/modules/tmpfile-safer b/modules/tmpfile-safer
index d63559e153..02e49d4ab2 100644
--- a/modules/tmpfile-safer
+++ b/modules/tmpfile-safer
@@ -20,6 +20,9 @@ lib_SOURCES += tmpfile-safer.c
Include:
"stdio-safer.h"
+Link:
+$(LIB_GETRANDOM)
+
License:
GPL