[PATCH 06/16] examples: Move $(STATIC_BINARIES) to $(AM_LDFLAGS)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$(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@xxxxxxxxxx>
---
 examples/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index d83104a130..38dcb399c0 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -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)
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux