tests: don't use GST_PLUGIN_LDFLAGS when building test binaries

This commit is contained in:
Tim-Philipp Müller 2010-04-15 13:39:41 +01:00
parent 386169b9fe
commit 219058cc6f

View file

@ -3,7 +3,6 @@ GTK_TESTS = gdkpixbufsink-test
gdkpixbufsink_test_SOURCES = gdkpixbufsink-test.c
gdkpixbufsink_test_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
gdkpixbufsink_test_LDADD = $(GST_LIBS) $(GTK_LIBS)
gdkpixbufsink_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
else
GTK_TESTS =
endif
@ -14,7 +13,6 @@ V4L2_TESTS = v4l2src-test
v4l2src_test_SOURCES = v4l2src-test.c
v4l2src_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
v4l2src_test_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) $(GST_LIBS)
v4l2src_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
else
V4L2_TESTS =
@ -33,17 +31,14 @@ endif
videocrop_test_SOURCES = videocrop-test.c
videocrop_test_CFLAGS = $(GST_CFLAGS)
videocrop_test_LDADD = $(GST_LIBS)
videocrop_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
videobox_test_SOURCES = videobox-test.c
videobox_test_CFLAGS = $(GST_CFLAGS)
videobox_test_LDADD = $(GST_LIBS)
videobox_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
videocrop2_test_SOURCES = videocrop2-test.c
videocrop2_test_CFLAGS = $(GST_CFLAGS)
videocrop2_test_LDADD = $(GST_LIBS)
videocrop2_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_PROGRAMS = $(GTK_TESTS) $(V4L2_TESTS) $(X_TESTS) videocrop-test videobox-test videocrop2-test