summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorUlrich Klauer <ulrich@chirlu.de>2013-04-06 21:28:25 +0200
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-04-07 11:03:56 +1000
commitb500183e95b43575b5f1e5f859c797ca88287eaf (patch)
tree9fcc2c4e83e6704a322112a250d76419c92aa575 /examples
parent5da86630bee2336e251f0a140f33332af703c43e (diff)
downloadflac-b500183e95b43575b5f1e5f859c797ca88287eaf.tar.gz
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 <erikd@mega-nerd.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/c/decode/file/Makefile.am4
1 files changed, 1 insertions, 3 deletions
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