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:
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
|
||||
|
@ -50,7 +50,6 @@ flac_LDADD = \
|
||||
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
|
||||
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la \
|
||||
@OGG_LIBS@ \
|
||||
@LIBICONV@ \
|
||||
-lm
|
||||
|
||||
|
@ -47,8 +47,6 @@ metaflac_LDADD = \
|
||||
$(top_builddir)/src/share/getopt/libgetopt.la \
|
||||
$(top_builddir)/src/share/utf8/libutf8.la \
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la \
|
||||
@OGG_LIBS@ \
|
||||
@LIBICONV@ \
|
||||
-lm
|
||||
@LIBICONV@
|
||||
|
||||
CLEANFILES = metaflac.exe
|
||||
|
@ -60,7 +60,6 @@ libxmms_flac_la_LIBADD = \
|
||||
$(top_builddir)/src/share/utf8/libutf8.la \
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la \
|
||||
-L$(top_builddir)/src/libFLAC/.libs \
|
||||
@OGG_LIBS@ \
|
||||
@XMMS_LIBS@ \
|
||||
@LIBICONV@
|
||||
libxmms_flac_la_LDFLAGS = -module -avoid-version
|
||||
|
@ -26,8 +26,6 @@ test_cuesheet_SOURCES = \
|
||||
test_cuesheet_LDADD = \
|
||||
$(top_builddir)/src/share/grabbag/libgrabbag.la \
|
||||
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la \
|
||||
@OGG_LIBS@ \
|
||||
-lm
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la
|
||||
|
||||
CLEANFILES = test_cuesheet.exe
|
||||
|
@ -26,8 +26,6 @@ test_picture_SOURCES = \
|
||||
|
||||
test_picture_LDADD = \
|
||||
$(top_builddir)/src/share/grabbag/libgrabbag.la \
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la \
|
||||
@OGG_LIBS@ \
|
||||
-lm
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la
|
||||
|
||||
CLEANFILES = test_picture.exe
|
||||
|
@ -25,9 +25,7 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
|
||||
|
||||
noinst_PROGRAMS = test_seeking
|
||||
test_seeking_LDADD = \
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la \
|
||||
@OGG_LIBS@ \
|
||||
-lm
|
||||
$(top_builddir)/src/libFLAC/libFLAC.la
|
||||
|
||||
test_seeking_SOURCES = \
|
||||
main.c
|
||||
|
Loading…
Reference in New Issue
Block a user