summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-02-22 13:10:16 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2023-02-23 16:46:35 +0100
commitd91bc6904dce256b06687217ec66caba15b33a7a (patch)
tree0de31031f78a4479bd59718e8ce4b6e861d11674 /make.tmpl.in
parente0c95f15a7a859ee41a6561cae1e53c17a23a0c3 (diff)
downloadlvm2-d91bc6904dce256b06687217ec66caba15b33a7a.tar.gz
makefiles: add pthread to libdevmapper pkgconfig
Add pthread to pkg_config file.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index b73176f5a..df4c5850d 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -59,7 +59,7 @@ PYCOMPILE = $(top_srcdir)/autoconf/py-compile
LIBS += @LIBS@ $(SELINUX_LIBS) $(UDEV_LIBS) $(RT_LIBS) $(M_LIBS)
LVMLIBS = $(DMEVENT_LIBS) $(READLINE_LIBS) $(EDITLINE_LIBS) $(LIBSYSTEMD_LIBS) $(BLKID_LIBS) $(AIO_LIBS) $(LIBS)
# 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@
# FIXME set this only where it's needed, not globally?
CFLAGS ?= @COPTIMISE_FLAG@ @CFLAGS@