mirror of https://github.com/mpv-player/mpv
Move -I. and -I.. to the front of CFLAGS so that headers in the root directory
take precedence over ones in the subdirectories. This works around the problem of confusing the two copies of xvmc_render.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22736 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5f6965df5d
commit
298ea20c97
|
@ -9,7 +9,7 @@ OBJS_MENCODER = $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
|
|||
CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil
|
||||
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
||||
CFLAGS-$(CONFIG_LIBAVFORMAT) += -I../libavformat
|
||||
CFLAGS += $(CFLAGS-yes) -I. -I.. $(OPTFLAGS)
|
||||
CFLAGS += -I. -I.. $(CFLAGS-yes) $(OPTFLAGS)
|
||||
|
||||
LIBS-$(MPLAYER) += $(LIBNAME_MPLAYER)
|
||||
LIBS-$(MENCODER) += $(LIBNAME_MENCODER)
|
||||
|
|
Loading…
Reference in New Issue