From 18bead43d4f106f72bdbb72b215d2a1334aa0a98 Mon Sep 17 00:00:00 2001 From: nplourde Date: Sun, 19 Nov 2006 15:21:50 +0000 Subject: fix mp3lib compilation on OSX git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21056 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mp3lib/Makefile') diff --git a/mp3lib/Makefile b/mp3lib/Makefile index 2889e9c72f..b25fbdbf75 100644 --- a/mp3lib/Makefile +++ b/mp3lib/Makefile @@ -9,9 +9,17 @@ CFLAGS = -I.. $(OPTFLAGS) SRCS = sr1.c ifeq ($(TARGET_ARCH_X86_32),yes) SRCS += decode_i586.c +# Darwin can't compile tabinit_MMX.c. However, we need costab_mmx from +# decode_mmx.c for dct64_sse.c. +ifeq ($(TARGET_OS),Darwin) +ifeq ($(TARGET_MMX),yes) +SRCS += decode_MMX.c +endif +else ifeq ($(TARGET_MMX),yes) SRCS += decode_MMX.c dct64_MMX.c tabinit_MMX.c endif +endif ifeq ($(TARGET_3DNOW),yes) SRCS += dct36_3dnow.c dct64_3dnow.c endif -- cgit v1.2.3