mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: add pthread to libdevmapper pkgconfig
Add pthread to pkg_config file.
This commit is contained in:
parent
e0c95f15a7
commit
d91bc6904d
@ -9,4 +9,4 @@ Version: @DM_LIB_PATCHLEVEL@
|
|||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -ldevmapper
|
Libs: -L${libdir} -ldevmapper
|
||||||
Requires.private: @SELINUX_PC@ @UDEV_PC@
|
Requires.private: @SELINUX_PC@ @UDEV_PC@
|
||||||
Libs.private: -lm @RT_LIBS@
|
Libs.private: -lm @RT_LIBS@ @PTHREAD_LIBS@
|
||||||
|
@ -59,7 +59,7 @@ PYCOMPILE = $(top_srcdir)/autoconf/py-compile
|
|||||||
LIBS += @LIBS@ $(SELINUX_LIBS) $(UDEV_LIBS) $(RT_LIBS) $(M_LIBS)
|
LIBS += @LIBS@ $(SELINUX_LIBS) $(UDEV_LIBS) $(RT_LIBS) $(M_LIBS)
|
||||||
LVMLIBS = $(DMEVENT_LIBS) $(READLINE_LIBS) $(EDITLINE_LIBS) $(LIBSYSTEMD_LIBS) $(BLKID_LIBS) $(AIO_LIBS) $(LIBS)
|
LVMLIBS = $(DMEVENT_LIBS) $(READLINE_LIBS) $(EDITLINE_LIBS) $(LIBSYSTEMD_LIBS) $(BLKID_LIBS) $(AIO_LIBS) $(LIBS)
|
||||||
# Extra libraries always linked with static binaries
|
# Extra libraries always linked with static binaries
|
||||||
STATIC_LIBS = $(PTHREAD_LIBS)
|
STATIC_LIBS = $(PTHREAD_LIBS) $(SELINUX_STATIC_LIBS) $(UDEV_STATIC_LIBS) $(BLKID_STATIC_LIBS)
|
||||||
DEFS += @DEFS@
|
DEFS += @DEFS@
|
||||||
# FIXME set this only where it's needed, not globally?
|
# FIXME set this only where it's needed, not globally?
|
||||||
CFLAGS ?= @COPTIMISE_FLAG@ @CFLAGS@
|
CFLAGS ?= @COPTIMISE_FLAG@ @CFLAGS@
|
||||||
|
Loading…
Reference in New Issue
Block a user