mirror of
https://github.com/mpv-player/mpv
synced 2025-01-17 20:48:46 +00:00
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
3
configure
vendored
3
configure
vendored
@ -7409,7 +7409,8 @@ if test "$_largefiles" = yes || freebsd ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
CXXFLAGS="-I.. $CFLAGS -D__STDC_LIMIT_MACROS"
|
||||
CFLAGS="-I. -I.. -I../libavutil $CFLAGS"
|
||||
CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS"
|
||||
|
||||
cat > $TMPC << EOF
|
||||
int main() { return 0; }
|
||||
|
@ -8,7 +8,7 @@ OBJS_MENCODER = $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
|
||||
|
||||
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
|
||||
CFLAGS-$(CONFIG_LIBAVFORMAT) += -I../libavformat
|
||||
CFLAGS += -I. -I.. -I../libavutil $(CFLAGS-yes) $(OPTFLAGS)
|
||||
CFLAGS += $(CFLAGS-yes) $(OPTFLAGS)
|
||||
|
||||
LIBS-$(MPLAYER) += $(LIBNAME_MPLAYER)
|
||||
LIBS-$(MENCODER) += $(LIBNAME_MENCODER)
|
||||
|
Loading…
Reference in New Issue
Block a user