mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
tests: fix libs order in some makefiles
Local libs should come first.
This commit is contained in:
parent
789e325678
commit
d5f44ec6ea
2 changed files with 18 additions and 13 deletions
|
@ -7,8 +7,9 @@ EXAMPLES += gtk-videooverlay
|
||||||
|
|
||||||
gtk_videooverlay_SOURCES = gtk-videooverlay.c
|
gtk_videooverlay_SOURCES = gtk-videooverlay.c
|
||||||
gtk_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
gtk_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
||||||
gtk_videooverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) \
|
gtk_videooverlay_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||||
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HAVE_QT
|
if HAVE_QT
|
||||||
|
@ -16,9 +17,9 @@ EXAMPLES += qt-videooverlay
|
||||||
|
|
||||||
qt_videooverlay_SOURCES = qt-videooverlay.cpp
|
qt_videooverlay_SOURCES = qt-videooverlay.cpp
|
||||||
qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
||||||
qt_videooverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS) \
|
qt_videooverlay_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||||
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HAVE_QT_GV
|
if HAVE_QT_GV
|
||||||
|
@ -26,8 +27,9 @@ EXAMPLES += qtgv-videooverlay
|
||||||
|
|
||||||
qtgv_videooverlay_SOURCES = qtgv-videooverlay.cpp qtgv-videooverlay.h
|
qtgv_videooverlay_SOURCES = qtgv-videooverlay.cpp qtgv-videooverlay.h
|
||||||
qtgv_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
qtgv_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
||||||
qtgv_videooverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS) \
|
qtgv_videooverlay_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||||
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
|
||||||
|
|
||||||
# qt moc support, according to http://qtnode.net/wiki/Qt_with_autotools
|
# qt moc support, according to http://qtnode.net/wiki/Qt_with_autotools
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,9 @@ X_TESTS = stress-videooverlay
|
||||||
stress_videooverlay_SOURCES = stress-videooverlay.c
|
stress_videooverlay_SOURCES = stress-videooverlay.c
|
||||||
stress_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
stress_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS)
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS)
|
||||||
stress_videooverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) \
|
stress_videooverlay_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||||
|
$(GST_LIBS) $(X_LIBS) $(LIBM)
|
||||||
|
|
||||||
if HAVE_GTK_X11
|
if HAVE_GTK_X11
|
||||||
X_TESTS += test-colorkey test-videooverlay
|
X_TESTS += test-colorkey test-videooverlay
|
||||||
|
@ -16,14 +17,16 @@ X_TESTS += test-colorkey test-videooverlay
|
||||||
test_colorkey_SOURCES = test-colorkey.c
|
test_colorkey_SOURCES = test-colorkey.c
|
||||||
test_colorkey_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
test_colorkey_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
||||||
test_colorkey_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) \
|
test_colorkey_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||||
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
|
||||||
|
|
||||||
test_videooverlay_SOURCES = test-videooverlay.c
|
test_videooverlay_SOURCES = test-videooverlay.c
|
||||||
test_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
test_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
||||||
test_videooverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) \
|
test_videooverlay_LDADD = \
|
||||||
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
||||||
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
output_selector_test_SOURCES = output-selector-test.c
|
output_selector_test_SOURCES = output-selector-test.c
|
||||||
|
|
Loading…
Reference in a new issue