summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Chifflier <chifflier@inl.fr>2008-12-01 13:41:53 +0100
committerEric Leblond <eric@inl.fr>2008-12-09 00:19:30 +0100
commite706f92c94a5dd11a4e5286bac3305e0a10b19ee (patch)
tree4d50c45cabc360ff01fc2d1df84bd6fa29d6452c
parent2629f88687d88b66be29017c3b2731cd8c5be8b6 (diff)
Link ulogd2 with libpthread
Explicitly link with libpthread. This allows to run ulogd within gdb, else it fails with message: Cannot find new threads: generic error Signed-off-by: Pierre Chifflier <chifflier@inl.fr> Signed-off-by: Eric Leblond <eric@inl.fr>
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index aa9a3fa..343cdcc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,4 +6,4 @@ AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include \
sbin_PROGRAMS = ulogd
ulogd_SOURCES = ulogd.c select.c timer.c rbtree.c conffile.c hash.c
-ulogd_LDFLAGS = -export-dynamic
+ulogd_LDFLAGS = -lpthread -export-dynamic