summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am4
-rw-r--r--Makefile.in4
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b68930a..e50a0394 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-12 Martin Hunt <hunt@redhat.com>
+
+ * Makefile.am (staprun_LDADD): Add -lpthread.
+ * Makefile.in: Rebuilt.
+
2007-10-11 Frank Ch. Eigler <fche@elastic.org>
* systemtap.spec.in: Make -testsuite subrpm require dejagnu.
diff --git a/Makefile.am b/Makefile.am
index 7e28591c..2da4da73 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,9 +55,9 @@ staprun_SOURCES = runtime/staprun/staprun.c runtime/staprun/staprun_funcs.c\
runtime/staprun/ctl.c runtime/staprun/common.c \
runtime/staprun/cap.c runtime/staprun/symbols.c
-staprun_CPPFLAGS = $(AM_CPPFLAGS) -DSINGLE_THREADED
+staprun_CPPFLAGS = $(AM_CPPFLAGS)
staprun_CFLAGS = @PROCFLAGS@ $(AM_CFLAGS)
-staprun_LDADD = @PROCFLAGS@ @cap_LIBS@
+staprun_LDADD = @PROCFLAGS@ @cap_LIBS@ -lpthread
stapio_SOURCES = runtime/staprun/stapio.c \
runtime/staprun/mainloop.c runtime/staprun/common.c \
diff --git a/Makefile.in b/Makefile.in
index 193e021a..77e5be8d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -283,9 +283,9 @@ staprun_SOURCES = runtime/staprun/staprun.c runtime/staprun/staprun_funcs.c\
runtime/staprun/ctl.c runtime/staprun/common.c \
runtime/staprun/cap.c runtime/staprun/symbols.c
-staprun_CPPFLAGS = $(AM_CPPFLAGS) -DSINGLE_THREADED
+staprun_CPPFLAGS = $(AM_CPPFLAGS)
staprun_CFLAGS = @PROCFLAGS@ $(AM_CFLAGS)
-staprun_LDADD = @PROCFLAGS@ @cap_LIBS@
+staprun_LDADD = @PROCFLAGS@ @cap_LIBS@ -lpthread
stapio_SOURCES = runtime/staprun/stapio.c \
runtime/staprun/mainloop.c runtime/staprun/common.c \
runtime/staprun/ctl.c \