summaryrefslogtreecommitdiffstats
path: root/make.tmpl.in
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 /make.tmpl.in
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 'make.tmpl.in')
-rw-r--r--make.tmpl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 88be2591..9def16dd 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -37,6 +37,7 @@ LDDEPS += @LDDEPS@
LDFLAGS += @LDFLAGS@
LIB_SUFFIX = @LIB_SUFFIX@
LVMINTERNAL_LIBS = -llvm-internal
+PTHREAD_LIBS = @PTHREAD_LIBS@
READLINE_LIBS = @READLINE_LIBS@
# Setup directory variables