1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

Fix link errors on AIX.

* modules/clean-temp (Link): Link with $(LIBTHREAD).
* modules/getumask (Link): Link with $(LIBTHREAD).
* modules/getumask-tests (Makefile.am): Link test-getumask with
$(LIBTHREAD).
* modules/supersede (Link): Link with $(LIBTHREAD).
* modules/supersede-tests (Makefile.am): Link test-supersede with
$(LIBTHREAD).
* modules/fatal-signal (Link): New section.
* modules/execute (Link): New section.
* modules/csharpexec (Link): Link with $(LIBTHREAD).
* modules/javaexec (Link): Link with $(LIBTHREAD).
* modules/spawn-pipe (Link): New section.
* modules/spawn-pipe-tests (Makefile.am): Link test-spawn-pipe-main with
$(LIBTHREAD).
* modules/csharpcomp (Link): Link with $(LIBTHREAD).
* modules/javacomp (Link): Link with $(LIBTHREAD).
* modules/javaversion (Link): Link with $(LIBTHREAD).
* modules/pipe-filter-gi (Link): New section.
* modules/pipe-filter-gi-tests (Makefile.am): Link test-pipe-filter-gi1,
test-pipe-filter-gi2-main with $(LIBTHREAD).
* modules/pipe-filter-ii (Link): New section.
* modules/pipe-filter-ii-tests (Makefile.am): Link test-pipe-filter-ii1,
test-pipe-filter-ii2-main with $(LIBTHREAD).
* modules/term-style-control (Link): New section.
* modules/term-style-control-tests (Makefile.am): Link
test-term-style-control-hello, test-term-style-control-yes with
$(LIBTHREAD).
* modules/wait-process (Link): New section.
* modules/nonblocking-pipe-tests (Makefile.am): Link
test-nonblocking-pipe-main with $(LIBTHREAD).
* modules/nonblocking-socket-tests (Makefile.am): Link
test-nonblocking-socket-main with $(LIBTHREAD).
This commit is contained in:
Bruno Haible
2020-11-17 23:24:12 +01:00
parent 16a84f2d70
commit c1d6485911
24 changed files with 76 additions and 11 deletions

View File

@@ -1,3 +1,39 @@
2020-11-17 Bruno Haible <bruno@clisp.org>
Fix link errors on AIX.
* modules/clean-temp (Link): Link with $(LIBTHREAD).
* modules/getumask (Link): Link with $(LIBTHREAD).
* modules/getumask-tests (Makefile.am): Link test-getumask with
$(LIBTHREAD).
* modules/supersede (Link): Link with $(LIBTHREAD).
* modules/supersede-tests (Makefile.am): Link test-supersede with
$(LIBTHREAD).
* modules/fatal-signal (Link): New section.
* modules/execute (Link): New section.
* modules/csharpexec (Link): Link with $(LIBTHREAD).
* modules/javaexec (Link): Link with $(LIBTHREAD).
* modules/spawn-pipe (Link): New section.
* modules/spawn-pipe-tests (Makefile.am): Link test-spawn-pipe-main with
$(LIBTHREAD).
* modules/csharpcomp (Link): Link with $(LIBTHREAD).
* modules/javacomp (Link): Link with $(LIBTHREAD).
* modules/javaversion (Link): Link with $(LIBTHREAD).
* modules/pipe-filter-gi (Link): New section.
* modules/pipe-filter-gi-tests (Makefile.am): Link test-pipe-filter-gi1,
test-pipe-filter-gi2-main with $(LIBTHREAD).
* modules/pipe-filter-ii (Link): New section.
* modules/pipe-filter-ii-tests (Makefile.am): Link test-pipe-filter-ii1,
test-pipe-filter-ii2-main with $(LIBTHREAD).
* modules/term-style-control (Link): New section.
* modules/term-style-control-tests (Makefile.am): Link
test-term-style-control-hello, test-term-style-control-yes with
$(LIBTHREAD).
* modules/wait-process (Link): New section.
* modules/nonblocking-pipe-tests (Makefile.am): Link
test-nonblocking-pipe-main with $(LIBTHREAD).
* modules/nonblocking-socket-tests (Makefile.am): Link
test-nonblocking-socket-main with $(LIBTHREAD).
2020-11-16 Bruno Haible <bruno@clisp.org>
Fix link errors on platforms with libunistring.

View File

@@ -38,6 +38,7 @@ Include:
Link:
$(LIB_GETRANDOM)
$(LIBTHREAD)
License:
GPL

View File

@@ -29,6 +29,7 @@ Include:
Link:
$(LIB_MBRTOWC)
$(LIBTHREAD)
License:
GPL

View File

@@ -29,6 +29,7 @@ Include:
Link:
$(LIB_MBRTOWC)
$(LIBTHREAD)
License:
GPL

View File

@@ -39,6 +39,9 @@ lib_SOURCES += execute.h execute.c w32spawn.h
Include:
"execute.h"
Link:
$(LIBTHREAD)
License:
GPL

View File

@@ -27,6 +27,9 @@ lib_SOURCES += fatal-signal.h fatal-signal.c
Include:
"fatal-signal.h"
Link:
$(LIBTHREAD)
License:
GPL

View File

@@ -29,6 +29,7 @@ Include:
Link:
$(LIB_GETRANDOM)
$(LIB_CLOCK_GETTIME)
$(LIBTHREAD)
License:
GPL

View File

@@ -10,4 +10,4 @@ configure.ac:
Makefile.am:
TESTS += test-getumask
check_PROGRAMS += test-getumask
test_getumask_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL)
test_getumask_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD)

View File

@@ -44,6 +44,7 @@ Include:
Link:
$(LIB_MBRTOWC)
$(LIB_GETRANDOM)
$(LIBTHREAD)
License:
GPL

View File

@@ -30,6 +30,7 @@ Include:
Link:
$(LIB_MBRTOWC)
$(LIBTHREAD)
License:
GPL

View File

@@ -27,6 +27,7 @@ Include:
Link:
$(LIB_MBRTOWC)
$(LIBTHREAD)
License:
GPL

View File

@@ -32,4 +32,4 @@ configure.ac:
Makefile.am:
TESTS += test-nonblocking-pipe.sh
check_PROGRAMS += test-nonblocking-pipe-main test-nonblocking-pipe-child
test_nonblocking_pipe_main_LDADD = $(LDADD) @LIBINTL@
test_nonblocking_pipe_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)

View File

@@ -42,5 +42,5 @@ configure.ac:
Makefile.am:
TESTS += test-nonblocking-socket.sh
check_PROGRAMS += test-nonblocking-socket-main test-nonblocking-socket-child
test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET) @LIBINTL@
test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET) @LIBINTL@ $(LIBTHREAD)
test_nonblocking_socket_child_LDADD = $(LDADD) $(LIBSOCKET)

View File

@@ -29,6 +29,9 @@ lib_SOURCES += pipe-filter-gi.c pipe-filter-aux.c
Include:
"pipe-filter.h"
Link:
$(LIBTHREAD)
License:
GPL

View File

@@ -19,5 +19,5 @@ configure.ac:
Makefile.am:
TESTS += test-pipe-filter-gi1.sh test-pipe-filter-gi2.sh
check_PROGRAMS += test-pipe-filter-gi1 test-pipe-filter-gi2-main test-pipe-filter-gi2-child
test_pipe_filter_gi1_LDADD = $(LDADD) @LIBINTL@
test_pipe_filter_gi2_main_LDADD = $(LDADD) @LIBINTL@
test_pipe_filter_gi1_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
test_pipe_filter_gi2_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)

View File

@@ -29,6 +29,9 @@ lib_SOURCES += pipe-filter-ii.c pipe-filter-aux.c
Include:
"pipe-filter.h"
Link:
$(LIBTHREAD)
License:
GPL

View File

@@ -18,5 +18,5 @@ configure.ac:
Makefile.am:
TESTS += test-pipe-filter-ii1.sh test-pipe-filter-ii2.sh
check_PROGRAMS += test-pipe-filter-ii1 test-pipe-filter-ii2-main test-pipe-filter-ii2-child
test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@
test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@
test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)

View File

@@ -45,6 +45,9 @@ lib_SOURCES += spawn-pipe.h spawn-pipe.c w32spawn.h
Include:
"spawn-pipe.h"
Link:
$(LIBTHREAD)
License:
GPL

View File

@@ -12,7 +12,7 @@ configure.ac:
Makefile.am:
TESTS += test-spawn-pipe.sh
check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child
test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@
test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
# The test-spawn-pipe-child program must be a real executable, not a libtool
# wrapper script, and should link against as few libraries as possible.
# Therefore don't link it against any libraries other than -lc.

View File

@@ -35,6 +35,7 @@ Include:
Link:
$(LIB_GETRANDOM)
$(LIB_CLOCK_GETTIME)
$(LIBTHREAD)
License:
GPL

View File

@@ -19,4 +19,4 @@ configure.ac:
Makefile.am:
TESTS += test-supersede
check_PROGRAMS += test-supersede
test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL)
test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD)

View File

@@ -24,6 +24,9 @@ lib_SOURCES += term-style-control.c
Include:
"term-style-control.h"
Link:
$(LIBTHREAD)
License:
GPL

View File

@@ -13,5 +13,5 @@ Makefile.am:
TESTS += test-term-style-control-hello
check_PROGRAMS += test-term-style-control-hello
noinst_PROGRAMS += test-term-style-control-yes
test_term_style_control_hello_LDADD = $(LDADD) @LIBINTL@
test_term_style_control_yes_LDADD = $(LDADD) @LIBINTL@
test_term_style_control_hello_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
test_term_style_control_yes_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)

View File

@@ -28,6 +28,9 @@ lib_SOURCES += wait-process.h wait-process.c
Include:
"wait-process.h"
Link:
$(LIBTHREAD)
License:
GPL