mirror of https://github.com/mpv-player/mpv
Move the addition of basic include flags to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22812 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
91fd156f91
commit
48cea610fb
|
@ -7409,7 +7409,8 @@ if test "$_largefiles" = yes || freebsd ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CXXFLAGS="-I.. $CFLAGS -D__STDC_LIMIT_MACROS"
|
CFLAGS="-I. -I.. -I../libavutil $CFLAGS"
|
||||||
|
CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS"
|
||||||
|
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
|
|
|
@ -8,7 +8,7 @@ OBJS_MENCODER = $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
|
||||||
|
|
||||||
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
||||||
CFLAGS-$(CONFIG_LIBAVFORMAT) += -I../libavformat
|
CFLAGS-$(CONFIG_LIBAVFORMAT) += -I../libavformat
|
||||||
CFLAGS += -I. -I.. -I../libavutil $(CFLAGS-yes) $(OPTFLAGS)
|
CFLAGS += $(CFLAGS-yes) $(OPTFLAGS)
|
||||||
|
|
||||||
LIBS-$(MPLAYER) += $(LIBNAME_MPLAYER)
|
LIBS-$(MPLAYER) += $(LIBNAME_MPLAYER)
|
||||||
LIBS-$(MENCODER) += $(LIBNAME_MENCODER)
|
LIBS-$(MENCODER) += $(LIBNAME_MENCODER)
|
||||||
|
|
Loading…
Reference in New Issue