diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-04-08 19:44:53 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-04-12 09:54:15 +0200 |
commit | aee0cd6530c6340f6f0a8256b887c8561f29dde6 (patch) | |
tree | 1bbff466a7f8f3ef9a2e870607daf7e62de2a37b /make.tmpl.in | |
parent | 01f108c4d03f848a84bff74104dd18b21c7a8e3f (diff) | |
download | lvm2-aee0cd6530c6340f6f0a8256b887c8561f29dde6.tar.gz |
makefiles: static linking enhancements
Diffstat (limited to 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index b28ef6f8f..14557c4c4 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -61,9 +61,10 @@ PYTHON2 = @PYTHON2@ PYTHON3 = @PYTHON3@ PYCOMPILE = $(top_srcdir)/autoconf/py-compile -LIBS += @LIBS@ $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) $(RT_LIBS) $(M_LIBS) +LIBS += @LIBS@ $(SELINUX_LIBS) $(UDEV_LIBS) $(RT_LIBS) $(M_LIBS) +LVMLIBS = $(DMEVENT_LIBS) $(READLINE_LIBS) $(EDITLINE_LIBS) $(SYSTEMD_LIBS) $(BLKID_LIBS) $(AIO_LIBS) $(LIBS) # Extra libraries always linked with static binaries -STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) +STATIC_LIBS = $(PTHREAD_LIBS) DEFS += @DEFS@ # FIXME set this only where it's needed, not globally? CFLAGS ?= @COPTIMISE_FLAG@ @CFLAGS@ @@ -146,6 +147,7 @@ vpath %.po $(srcdir) vpath %.exported_symbols $(srcdir) interface = @interface@ +interfacebuilddir = $(top_builddir)/libdm/$(interface) rpmbuilddir = $(abs_top_builddir)/build # The number of jobs to run, if blank, defaults to the make standard |