From b500183e95b43575b5f1e5f859c797ca88287eaf Mon Sep 17 00:00:00 2001 From: Ulrich Klauer Date: Sat, 6 Apr 2013 21:28:25 +0200 Subject: Only link against libogg (and libm) if needed Most of the programs don't use libogg or libm directly and should not link to them (overlinking). Signed-off-by: Erik de Castro Lopo --- examples/c/decode/file/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/c/decode/file/Makefile.am b/examples/c/decode/file/Makefile.am index 7926e481..d3b2b0e7 100644 --- a/examples/c/decode/file/Makefile.am +++ b/examples/c/decode/file/Makefile.am @@ -22,8 +22,6 @@ EXTRA_DIST = \ AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include noinst_PROGRAMS = example_c_decode_file example_c_decode_file_LDADD = \ - $(top_builddir)/src/libFLAC/libFLAC.la \ - @OGG_LIBS@ \ - -lm + $(top_builddir)/src/libFLAC/libFLAC.la example_c_decode_file_SOURCES = main.c -- cgit v1.2.1