diff --git a/tests/old/testsuite/bytestream/Makefile.am b/tests/old/testsuite/bytestream/Makefile.am index c28cbb0d0e..283ea37d62 100644 --- a/tests/old/testsuite/bytestream/Makefile.am +++ b/tests/old/testsuite/bytestream/Makefile.am @@ -4,5 +4,5 @@ tests_pass = tests_fail = test1 test1_SOURCES = test1.c gstbstest.c -test1_LDFLAGS = -lgstbytestream -L$(top_srcdir)/libs/gst/bytestream +test1_LDFLAGS = $(top_builddir)/libs/gst/bytestream/libgstbytestream.la diff --git a/testsuite/bytestream/Makefile.am b/testsuite/bytestream/Makefile.am index c28cbb0d0e..283ea37d62 100644 --- a/testsuite/bytestream/Makefile.am +++ b/testsuite/bytestream/Makefile.am @@ -4,5 +4,5 @@ tests_pass = tests_fail = test1 test1_SOURCES = test1.c gstbstest.c -test1_LDFLAGS = -lgstbytestream -L$(top_srcdir)/libs/gst/bytestream +test1_LDFLAGS = $(top_builddir)/libs/gst/bytestream/libgstbytestream.la