1
0
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:
David Seifert 2023-02-22 13:10:16 +01:00 committed by Zdenek Kabelac
parent e0c95f15a7
commit d91bc6904d
2 changed files with 2 additions and 2 deletions

View File

@ -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@

View File

@ -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@