mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
Add a missing -pthread to fix compile with slibtool.
When compiling wayland with slibtool instead of GNU libtool
it will fail building libtest_runner with an undefined
reference to pthread_join@@GLIBC_2.2.5. This is because
-pthread (Or -lpthread) is missing from display_test. If its
added the build succeeds as expected with slibtool and
continues to work with libtool. Its likely that libtool is
hiding this failure by silently adding the missing flag which
is not uncommon...
Exposed in commit aa51a833eb.
Fixes https://gitlab.freedesktop.org/wayland/wayland/issues/91
Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
parent
294ed97e64
commit
2485a5c274
1 changed files with 1 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ array_test_SOURCES = tests/array-test.c
|
|||
array_test_LDADD = libtest-runner.la
|
||||
client_test_SOURCES = tests/client-test.c
|
||||
client_test_LDADD = libtest-runner.la
|
||||
display_test_CFLAGS = -pthread
|
||||
display_test_SOURCES = tests/display-test.c
|
||||
display_test_LDADD = libtest-runner.la
|
||||
nodist_display_test_SOURCES = \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue