From 8131d1157f55f99ff649bb8474abd469e9d66551 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 24 Feb 2011 13:50:48 +0100 Subject: [PATCH] build: don't hardcode version number --- tests/examples/pulse/Makefile.am | 2 +- tests/examples/v4l2/Makefile.am | 2 +- tests/icles/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/examples/pulse/Makefile.am b/tests/examples/pulse/Makefile.am index 5d35e61..e9a2d96 100644 --- a/tests/examples/pulse/Makefile.am +++ b/tests/examples/pulse/Makefile.am @@ -1,5 +1,5 @@ noinst_PROGRAMS = pulse pulse_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -pulse_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-0.10 $(GST_BASE_LIBS) $(GST_LIBS) +pulse_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) $(GST_BASE_LIBS) $(GST_LIBS) diff --git a/tests/examples/v4l2/Makefile.am b/tests/examples/v4l2/Makefile.am index 4fdb7e3..7db85d4 100644 --- a/tests/examples/v4l2/Makefile.am +++ b/tests/examples/v4l2/Makefile.am @@ -6,5 +6,5 @@ camctrl_LDADD = $(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) $(GST_LIBS) probe_SOURCES = probe.c probe_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -probe_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-0.10 $(GST_BASE_LIBS) $(GST_LIBS) +probe_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) $(GST_BASE_LIBS) $(GST_LIBS) diff --git a/tests/icles/Makefile.am b/tests/icles/Makefile.am index 5b1eb22..8181846 100644 --- a/tests/icles/Makefile.am +++ b/tests/icles/Makefile.am @@ -23,7 +23,7 @@ OSS4_TESTS=test-oss4 test_oss4_SOURCES = test-oss4.c test_oss4_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) -test_oss4_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-0.10 $(GST_LIBS) +test_oss4_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) $(GST_LIBS) test_oss4_LDFLAGS = $(GST_PLUGIN_LDFLAGS) else OSS4_TESTS= -- 2.7.4