mirror of https://github.com/mpv-player/mpv
libavutil/ is not optional, compile it unconditionally.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22811 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e9b9881ec7
commit
91fd156f91
6
Makefile
6
Makefile
|
@ -6,9 +6,8 @@
|
|||
|
||||
include config.mak
|
||||
|
||||
CFLAGS = -I. $(OPTFLAGS)
|
||||
CFLAGS = -I. -I./libavutil $(OPTFLAGS)
|
||||
|
||||
CFLAGS-$(CONFIG_LIBAVUTIL) += -I./libavutil
|
||||
CFLAGS-$(CONFIG_LIBAVCODEC) += -I./libavcodec
|
||||
CFLAGS += $(CFLAGS-yes)
|
||||
|
||||
|
@ -57,6 +56,7 @@ COMMON_LIBS = libmpcodecs/libmpcodecs.a \
|
|||
libaf/libaf.a \
|
||||
libmpdemux/libmpdemux.a \
|
||||
stream/stream.a \
|
||||
libavutil/libavutil.a \
|
||||
libswscale/libswscale.a \
|
||||
libvo/libosd.a \
|
||||
|
||||
|
@ -85,8 +85,6 @@ COMMON_LIBS-$(CONFIG_LIBAVFORMAT) += libavformat/libavformat.a
|
|||
PARTS-$(CONFIG_LIBAVFORMAT) += libavformat
|
||||
COMMON_LIBS-$(CONFIG_LIBAVCODEC) += libavcodec/libavcodec.a
|
||||
PARTS-$(CONFIG_LIBAVCODEC) += libavcodec
|
||||
COMMON_LIBS-$(CONFIG_LIBAVUTIL) += libavutil/libavutil.a
|
||||
PARTS-$(CONFIG_LIBAVUTIL) += libavutil
|
||||
COMMON_LIBS-$(CONFIG_LIBPOSTPROC) += libpostproc/libpostproc.a
|
||||
PARTS-$(CONFIG_LIBPOSTPROC) += libpostproc
|
||||
COMMON_LIBS-$(WIN32DLL) += loader/libloader.a
|
||||
|
|
|
@ -6,10 +6,9 @@ OBJS_COMMON = $(addsuffix .o, $(basename $(SRCS_COMMON)) )
|
|||
OBJS_MPLAYER = $(addsuffix .o, $(basename $(SRCS_MPLAYER)) )
|
||||
OBJS_MENCODER = $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
|
||||
|
||||
CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil
|
||||
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
||||
CFLAGS-$(CONFIG_LIBAVFORMAT) += -I../libavformat
|
||||
CFLAGS += -I. -I.. $(CFLAGS-yes) $(OPTFLAGS)
|
||||
CFLAGS += -I. -I.. -I../libavutil $(CFLAGS-yes) $(OPTFLAGS)
|
||||
|
||||
LIBS-$(MPLAYER) += $(LIBNAME_MPLAYER)
|
||||
LIBS-$(MENCODER) += $(LIBNAME_MENCODER)
|
||||
|
|
Loading…
Reference in New Issue