summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-12-02 20:41:47 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2008-12-02 20:54:13 +0200
commit14d31933913dcab7cc2a0c62a25d04237de92004 (patch)
tree6f2929ba306ceccba4acb62da7d624daf9c1a3d5 /Makefile
parenta6af927ea17f5c5a882902653aa95488b87ea512 (diff)
downloadmpv-14d31933913dcab7cc2a0c62a25d04237de92004.tar.bz2
mpv-14d31933913dcab7cc2a0c62a25d04237de92004.tar.xz
Makefile, codec-cfg.c: Don't use EXTRA_INC flags for codec-cfg compile
codec-cfg runs on the host system but EXTRA_INC can have target system paths. The EXTRA_INC was added there for shared libavutil support. Copy the one #define codec-cfg.c needs from libmpdemux/aviheader.h (which in turn needed libavutil) instead of including the header, and drop the EXTRA_INC flags.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6a9793a9cf..30023693da 100644
--- a/Makefile
+++ b/Makefile
@@ -755,7 +755,7 @@ mplayer$(EXESUF): $(MPLAYER_DEPS)
$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
- $(HOST_CC) -O -DCODECS2HTML $(EXTRA_INC) -Iffmpeg -o $@ $<
+ $(HOST_CC) -O -DCODECS2HTML -I. -Iffmpeg -o $@ $<
codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
./$^ > $@