mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
src: Move DLOPEN_LIBS to libraries introducing the dependency
There are few places where dlopen() is called. This call means we have to link with DLOPEN_LIBS. However, instead of having each final, installable library linking with it, move the directive to the source that introduced the dependency. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
@@ -528,7 +528,7 @@ nss_libnss_libvirt_impl_la_CFLAGS = \
|
||||
nss_libnss_libvirt_impl_la_LIBADD = \
|
||||
../gnulib/lib/libgnu.la \
|
||||
../src/libvirt-nss.la \
|
||||
$(DLOPEN_LIBS)
|
||||
$(NULL)
|
||||
|
||||
nss_libnss_libvirt_la_SOURCES =
|
||||
nss_libnss_libvirt_la_LDFLAGS = \
|
||||
@@ -556,7 +556,7 @@ nss_libnss_libvirt_guest_impl_la_CFLAGS = \
|
||||
nss_libnss_libvirt_guest_impl_la_LIBADD = \
|
||||
../gnulib/lib/libgnu.la \
|
||||
../src/libvirt-nss.la \
|
||||
$(DLOPEN_LIBS)
|
||||
$(NULL)
|
||||
|
||||
nss_libnss_libvirt_guest_la_SOURCES =
|
||||
nss_libnss_libvirt_guest_la_LDFLAGS = \
|
||||
|
||||
Reference in New Issue
Block a user