From cd1f6674cd41ea9c42ccf85ae903948929914982 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 17 Jul 2007 10:56:16 +0000 Subject: [PATCH] Put a compilation fix bandaid in place for the png.h issue. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23802 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/Makefile | 3 +++ libvo/Makefile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libmpcodecs/Makefile b/libmpcodecs/Makefile index bfd7117b44..c839923020 100644 --- a/libmpcodecs/Makefile +++ b/libmpcodecs/Makefile @@ -148,3 +148,6 @@ include ../mpcommon.mak clean:: rm -f native/*.o native/*.a native/*~ + + +vd_mpng.o vf_screenshot.o: CFLAGS := $(filter-out -I../libavcodec,$(CFLAGS)) diff --git a/libvo/Makefile b/libvo/Makefile index f2840e9161..cada6146a9 100644 --- a/libvo/Makefile +++ b/libvo/Makefile @@ -25,3 +25,5 @@ include ../mpcommon.mak %.o: %.m $(CC) $(CFLAGS) -c -o $@ $< + +vo_png.o: CFLAGS := $(filter-out -I../libavcodec,$(CFLAGS))