From ffbbcc7954b60b7c301367e42eca2887fe179989 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Sun, 25 Sep 2011 03:18:29 +0200 Subject: test: separate linker flags Use separate linker flags for the test program to avoid unnecessarily linking the libass library against libpng. --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index 9adad4d..208c9cf 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -4,4 +4,4 @@ noinst_PROGRAMS = test test_SOURCES = test.c test_CPPFLAGS = -I../libass test_LDADD = ../libass/libass.la -test_LDFLAGS = -lpng +test_LDFLAGS = $(AM_LDFLAGS) $(LIBPNG_LIBS) -- cgit v1.2.3