mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: allow to set LIBS in Makefiles
Avoid doing hard set of LIBS var, so if the LIBS is set before 'include make.tmpl' it's not lost. This gives better control over order of linked libraries.
This commit is contained in:
parent
143c8dcd7f
commit
b5366b1d8d
@ -61,8 +61,7 @@ PYTHON2 = @PYTHON2@
|
|||||||
PYTHON3 = @PYTHON3@
|
PYTHON3 = @PYTHON3@
|
||||||
PYCOMPILE = $(top_srcdir)/autoconf/py-compile
|
PYCOMPILE = $(top_srcdir)/autoconf/py-compile
|
||||||
|
|
||||||
LIBS = @LIBS@
|
LIBS += @LIBS@ $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) $(RT_LIBS) $(M_LIBS)
|
||||||
LIBS += $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) $(RT_LIBS) -lm
|
|
||||||
# Extra libraries always linked with static binaries
|
# Extra libraries always linked with static binaries
|
||||||
STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS)
|
STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS)
|
||||||
DEFS += @DEFS@
|
DEFS += @DEFS@
|
||||||
|
Loading…
Reference in New Issue
Block a user