Mercurial > mplayer.hg
changeset 30486:51db2b34b91c
Fix linking of mp3lib test programs when internal mp3lib is disabled.
Dependencies were only set correctly if internal mp3lib was enabled.
author | diego |
---|---|
date | Mon, 08 Feb 2010 23:23:04 +0000 |
parents | a26b7e0a8c8d |
children | c529adc9c384 |
files | Makefile |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon Feb 08 22:21:16 2010 +0000 +++ b/Makefile Mon Feb 08 23:23:04 2010 +0000 @@ -207,8 +207,10 @@ SRCS_MP3LIB-$(HAVE_ALTIVEC) += mp3lib/dct64_altivec.c SRCS_MP3LIB-$(HAVE_MMX) += mp3lib/decode_mmx.c SRCS_MP3LIB-$(HAVE_SSE) += mp3lib/dct64_sse.c -SRCS_COMMON-$(MP3LIB) += libmpcodecs/ad_mp3lib.c mp3lib/sr1.c \ +SRCS_MP3LIB += mp3lib/sr1.c \ $(SRCS_MP3LIB-yes) +SRCS_COMMON-$(MP3LIB) += libmpcodecs/ad_mp3lib.c \ + $(SRCS_MP3LIB) SRCS_COMMON-$(MUSEPACK) += libmpcodecs/ad_mpc.c \ libmpdemux/demux_mpc.c @@ -1016,7 +1018,7 @@ loader/qtx/list$(EXESUF) loader/qtx/qtxload$(EXESUF): CFLAGS += -g loader/qtx/list$(EXESUF) loader/qtx/qtxload$(EXESUF): $(LOADER_TEST_OBJS) -mp3lib/test$(EXESUF) mp3lib/test2$(EXESUF): $(filter mp3lib/%,$(SRCS_COMMON:.c=.o)) libvo/aclib.o cpudetect.o $(TEST_OBJS) +mp3lib/test$(EXESUF) mp3lib/test2$(EXESUF): $(SRCS_MP3LIB:.c=.o) libvo/aclib.o cpudetect.o $(TEST_OBJS) TESTS = codecs2html codec-cfg-test liba52/test libvo/aspecttest \ mp3lib/test mp3lib/test2