From fa3b6fa3ee1de42232f0513539af2464a3c9203a Mon Sep 17 00:00:00 2001 From: 11rcombs Date: Sat, 25 Jan 2014 16:46:10 -0600 Subject: Test/Profile: Support out-of-tree builds --- test/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index 208c9cf3..54a179ac 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2,6 +2,6 @@ AM_CFLAGS = -Wall noinst_PROGRAMS = test test_SOURCES = test.c -test_CPPFLAGS = -I../libass -test_LDADD = ../libass/libass.la -test_LDFLAGS = $(AM_LDFLAGS) $(LIBPNG_LIBS) +test_CPPFLAGS = -I$(top_srcdir)/libass +test_LDADD = $(top_builddir)/libass/.libs/libass.a +test_LDFLAGS = $(AM_LDFLAGS) $(LIBPNG_LIBS) -static -- cgit v1.2.3