blob: ad08c14e9abc4c7349c591955af0fa46a5b01bac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
server/tests/Makefile.am | 2 ++
server/tests/Makefile.in | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index e77865c..905de9d 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -19,6 +19,8 @@ LDADD = \
$(top_builddir)/server/libspice-server.la \
$(NULL)
+AM_LDFLAGS = -pthread
+
COMMON_BASE = \
basic_event_loop.c \
basic_event_loop.h \
diff --git a/server/tests/Makefile.in b/server/tests/Makefile.in
index 5b177e2..3aacfd3 100644
--- a/server/tests/Makefile.in
+++ b/server/tests/Makefile.in
@@ -144,7 +144,7 @@ am__v_at_0 = @
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ $(AM_LDFLAGS) $(LDFLAGS) -pthread -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
|