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:
parent
7bed6d1263
commit
529a13ec89
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user