don't add in png-codec for the mac build
git-svn-id: http://skia.googlecode.com/svn/trunk@82 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/Makefile b/Makefile
index a0a6955..5ad305b 100644
--- a/Makefile
+++ b/Makefile
@@ -70,8 +70,11 @@
BENCH_SRCS := RectBench.cpp SkBenchmark.cpp main.cpp
BENCH_SRCS := $(addprefix bench/, $(BENCH_SRCS))
+
# add any optional codecs for this app
-BENCH_SRCS += src/images/SkImageDecoder_libpng.cpp
+ifneq ($(SKIA_BUILD_FOR),mac)
+# BENCH_SRCS += src/images/SkImageDecoder_libpng.cpp
+endif
BENCH_OBJS := $(BENCH_SRCS:.cpp=.o)
BENCH_OBJS := $(addprefix out/, $(BENCH_OBJS))