mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
build: src: fix libtool dependency issue
Libtool gets a wrong order of arguments of libraries to install and it fails when installing libvirt-admin.so that libvirt.so is not yet installed. Caused by commit <3097282d8668693eb4b7c3fb1b4fe5b474996b9c>. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
3b4df5d350
commit
b5bb62a64d
@ -100,6 +100,10 @@ COMMON_UNIT_VARS = \
|
||||
-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
|
||||
$(NULL)
|
||||
|
||||
# Set these variables before we include any of the subdirs as libvirt-admin.la
|
||||
# has to be installed after libvirt.la.
|
||||
lib_LTLIBRARIES += libvirt.la libvirt-qemu.la libvirt-lxc.la
|
||||
|
||||
include util/Makefile.inc.am
|
||||
include conf/Makefile.inc.am
|
||||
include cpu/Makefile.inc.am
|
||||
@ -146,8 +150,6 @@ SECDRIVER_LIBS += $(APPARMOR_LIBS)
|
||||
endif WITH_SECDRIVER_APPARMOR
|
||||
|
||||
|
||||
lib_LTLIBRARIES += libvirt.la libvirt-qemu.la libvirt-lxc.la
|
||||
|
||||
moddir = $(libdir)/libvirt/connection-driver
|
||||
|
||||
confdir = $(sysconfdir)/libvirt
|
||||
|
Loading…
Reference in New Issue
Block a user