1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

examples: Move $(STATIC_BINARIES) to $(AM_LDFLAGS)

$(LDADD) is for object files that should be added during
linking, not for options that should be passed to the
linker: that's what $(AM_LDFLAGS) is for.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2019-05-22 19:14:17 +02:00
parent 9469bb3710
commit 0a7b5b6e10

View File

@ -32,8 +32,11 @@ AM_CPPFLAGS = \
$(WARN_CFLAGS) \
$(NULL)
LDADD = \
AM_LDFLAGS = \
$(STATIC_BINARIES) \
$(NULL)
LDADD = \
$(top_builddir)/src/libvirt.la \
$(top_builddir)/src/libvirt-admin.la \
$(NULL)