mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
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>
This commit is contained in:
committed by
Erik de Castro Lopo
parent
5da86630be
commit
b500183e95
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user