1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

libdm: Link to libpthread unconditionally.

This commit is contained in:
Petr Rockai 2013-10-10 00:27:53 +02:00
parent 7bed6d1263
commit 529a13ec89
2 changed files with 3 additions and 5 deletions

View File

@ -1181,10 +1181,8 @@ Features cannot be 'shared' when building statically
fi
################################################################################
if [[ "$DMEVENTD" = yes -o "$CLVMD" != none ]] ; then
AC_CHECK_LIB([pthread], [pthread_mutex_lock],
AC_CHECK_LIB([pthread], [pthread_mutex_lock],
[PTHREAD_LIBS="-lpthread"], hard_bailout)
fi
################################################################################
dnl -- Disable selinux

View File

@ -57,7 +57,7 @@ include $(top_builddir)/make.tmpl
DEFS += -DDM_DEVICE_UID=@DM_DEVICE_UID@ -DDM_DEVICE_GID=@DM_DEVICE_GID@ \
-DDM_DEVICE_MODE=@DM_DEVICE_MODE@
LIBS += $(SELINUX_LIBS) $(UDEV_LIBS)
LIBS += $(SELINUX_LIBS) $(UDEV_LIBS) $(PTHREAD_LIBS)
device-mapper: all