]> xenbits.xensource.com Git - libvirt.git/commitdiff
examples: Move $(STATIC_BINARIES) to $(AM_LDFLAGS)
authorAndrea Bolognani <abologna@redhat.com>
Wed, 22 May 2019 17:14:17 +0000 (19:14 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 3 Jun 2019 15:27:19 +0000 (17:27 +0200)
$(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>
examples/Makefile.am

index d83104a1303c845b6bbd5b8b8d8f5c24a6cadacb..38dcb399c0d95b0a43e51e59b5cc53723a3649b0 100644 (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)