summaryrefslogtreecommitdiffstats
path: root/libmpdemux/Makefile
diff options
context:
space:
mode:
authoral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-01 20:16:56 +0000
committeral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-01 20:16:56 +0000
commitbd342e463af94e4e748fc6f096b6ebb275685932 (patch)
tree05a0a74a063fe3cde419cde64c87a931de74e21d /libmpdemux/Makefile
parent2d14fdcb3a53f7775543f8ef85cae5edf41d3637 (diff)
downloadmpv-bd342e463af94e4e748fc6f096b6ebb275685932.tar.bz2
mpv-bd342e463af94e4e748fc6f096b6ebb275685932.tar.xz
Support new static libavcodec (depends on libavutil).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16166 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/Makefile')
-rw-r--r--libmpdemux/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/libmpdemux/Makefile b/libmpdemux/Makefile
index fc8b606b7e..0c13fb69f9 100644
--- a/libmpdemux/Makefile
+++ b/libmpdemux/Makefile
@@ -106,8 +106,15 @@ SRCS += muxer.c \
muxer_rawaudio.c \
muxer_rawvideo.c \
+LIBAV_INC =
+ifeq ($(CONFIG_LIBAVUTIL),yes)
+LIBAV_INC += -I../libavutil
+endif
+ifeq ($(CONFIG_LIBAVCODEC),yes)
+LIBAV_INC += -I../libavcodec
+endif
ifeq ($(CONFIG_LIBAVFORMAT),yes)
-LIBAV_INC = -I../libavcodec -I../libavformat
+LIBAV_INC += -I../libavformat
SRCS += muxer_lavf.c
endif