examples: use LDADD for libs instead of LDFLAGS
authorTim-Philipp Müller <tim@centricular.com>
Tue, 25 Feb 2014 15:13:40 +0000 (15:13 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 25 Feb 2014 15:13:40 +0000 (15:13 +0000)
examples/Makefile.am

index 0fc67c3..9bf2198 100644 (file)
@@ -5,10 +5,10 @@ noinst_PROGRAMS = test-video test-ogg test-mp4 test-readme \
 #INCLUDES = -I$(top_srcdir) -I$(srcdir)
 
 AM_CFLAGS = $(GST_OBJ_CFLAGS)
-AM_LDFLAGS = $(GST_OBJ_LIBS) $(GIO_LIBS)
+LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS)
 
 if HAVE_LIBCGROUP
 noinst_PROGRAMS += test-cgroups
-AM_LDFLAGS += $(LIBCGROUP_LIBS)
+LDADD += $(LIBCGROUP_LIBS)
 endif