summaryrefslogtreecommitdiffstats
path: root/test/api
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2010-03-04 11:21:05 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2010-03-04 11:21:05 +0000
commitf30875dbc67a6ec3f2e94533f63173062748222e (patch)
tree78a0b81da736d2dbaac8fb6d2c9bfcea0490c67f /test/api
parent539f4a77287ec4222f4e46cdeca18ab256dfe4b9 (diff)
downloadlvm2-f30875dbc67a6ec3f2e94533f63173062748222e.tar.gz
lvm2-f30875dbc67a6ec3f2e94533f63173062748222e.tar.xz
lvm2-f30875dbc67a6ec3f2e94533f63173062748222e.zip
Pthread linking change
Create new substituted variable PTHREAD_LIBS and link this library only with tools/libs which really needs it - i.e. dmeventd. Check for libpthread only for builds with clvmd or dmeventd. Remove variable LIB_PTHREAD
Diffstat (limited to 'test/api')
-rw-r--r--test/api/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/Makefile.in b/test/api/Makefile.in
index 2c0c62f5..605da33c 100644
--- a/test/api/Makefile.in
+++ b/test/api/Makefile.in
@@ -35,7 +35,7 @@ include $(top_builddir)/make.tmpl
LDFLAGS = -L$(top_builddir)/libdm -L$(top_builddir)/liblvm
ifeq ("@DMEVENTD@", "yes")
- LVMLIBS += -ldevmapper-event -lpthread
+ LVMLIBS += -ldevmapper-event
LDFLAGS += -L$(top_builddir)/daemons/dmeventd
endif