examples: Clean up CFLAGS/LDADD to link with the correct versions of all libraries

This commit is contained in:
Sebastian Dröge 2016-04-04 12:39:39 +03:00
parent 60dd95849f
commit cf064134ee

View file

@ -14,11 +14,21 @@ noinst_PROGRAMS += test-cgroups
LDADD += $(LIBCGROUP_LIBS)
endif
test_netclock_LDFLAGS = \
test_netclock_CFLAGS = \
$(GST_NET_CFAGS) \
$(GST_CFLAGS) \
$(AM_CFLAGS)
test_netclock_LDADD = \
$(GST_NET_LIBS) \
$(GST_LIBS) \
-lgstnet-@GST_API_VERSION@ \
$(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la
$(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la \
$(LDADD)
test_netclock_client_LDFLAGS = \
test_netclock_client_CFLAGS = \
$(GST_NET_CFAGS) \
$(GST_CFLAGS) \
$(AM_CFLAGS)
test_netclock_client_LDADD = \
$(GST_NET_LIBS) \
$(GST_LIBS) \
-lgstnet-@GST_API_VERSION@
$(LDADD)