summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-10-26 18:06:07 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-10-26 18:06:07 +0000
commit82c9cd05cd19a397043db94025c7a80e75386e8a (patch)
treebcca99054997670fb765ae6d9ca815f150dd1e07 /test
parentf17c060c7234cec9df8ce90628db299d3dd9c4b9 (diff)
* configure.in, dbus-1.pc.in: Check to see if thread methods
are in glibc or libpthread and add -lpthread to the link stage if it is the latter
Diffstat (limited to 'test')
-rw-r--r--test/name-test/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/name-test/Makefile.am b/test/name-test/Makefile.am
index ea35bc73..eec358aa 100644
--- a/test/name-test/Makefile.am
+++ b/test/name-test/Makefile.am
@@ -21,19 +21,19 @@ noinst_PROGRAMS=test-names test-pending-call-dispatch test-threads-init
test_names_SOURCES= \
test-names.c
-test_names_LDADD=$(top_builddir)/dbus/libdbus-convenience.la
+test_names_LDADD=$(top_builddir)/dbus/libdbus-convenience.la $(DBUS_TEST_LIBS)
test_names_LDFLAGS=@R_DYNAMIC_LDFLAG@
test_pending_call_dispatch_SOURCES = \
test-pending-call-dispatch.c
-test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-convenience.la
+test_pending_call_dispatch_LDADD=$(top_builddir)/dbus/libdbus-convenience.la $(DBUS_TEST_LIBS)
test_pending_call_dispatch_LDFLAGS=@R_DYNAMIC_LDFLAG@
test_threads_init_SOURCES = \
test-threads-init.c
-test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-convenience.la
+test_threads_init_LDADD=$(top_builddir)/dbus/libdbus-convenience.la $(DBUS_TEST_LIBS)
test_threads_init_LDFLAGS=@R_DYNAMIC_LDFLAG@
endif