27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
|
Link:
|
||
|
Subject: fix linker error
|
||
|
Tags: common
|
||
|
|
||
|
--- a/libmissing/tests/Makefile.am 2020-09-09 17:39:26.382000000 +0300
|
||
|
+++ b/libmissing/tests/Makefile.am 2021-04-04 14:13:32.638016903 +0300
|
||
|
@@ -993,7 +993,7 @@
|
||
|
|
||
|
TESTS += test-pthread_sigmask1 test-pthread_sigmask2
|
||
|
check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2
|
||
|
-test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@
|
||
|
+test_pthread_sigmask1_LDADD = $(LDADD) -pthread @LIB_PTHREAD_SIGMASK@
|
||
|
test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@
|
||
|
EXTRA_DIST += test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h macros.h
|
||
|
|
||
|
--- a/libmissing/tests/Makefile.in 2020-09-09 17:40:23.115000000 +0300
|
||
|
+++ b/libmissing/tests/Makefile.in 2021-04-04 14:13:53.613898405 +0300
|
||
|
@@ -2668,7 +2668,7 @@
|
||
|
test_once2_SOURCES = test-once.c
|
||
|
test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@
|
||
|
test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP)
|
||
|
-test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@
|
||
|
+test_pthread_sigmask1_LDADD = $(LDADD) -pthread @LIB_PTHREAD_SIGMASK@
|
||
|
test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@
|
||
|
test_recvfrom_LDADD = $(LDADD) @LIBSOCKET@
|
||
|
test_scratch_buffer_SOURCES = test-scratch-buffer.c
|