Commit 586924b2 authored by Jan Gerber's avatar Jan Gerber
Browse files

fix build with local ffmpeg version

parent 63972e06
......@@ -161,6 +161,12 @@ if not env.GetOption('clean'):
env.Append(CCFLAGS=[
'-Iffmpeg'
])
for lib in FFMPEG_LIBS:
lib = lib.split(' ')[0]
env.Append(LINKFLAGS=[
'-Lffmpeg/' + lib
])
if not conf.CheckPKG(' '.join(FFMPEG_LIBS)):
print """
......
......@@ -21,5 +21,5 @@ options="$common --enable-pthreads $extra"
uname | grep MINGW && options="$common --enable-memalign-hack --enable-mingw32 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib $extra"
#configure and build ffmpeg
cd $FFMPEG_CO_DIR && ./configure $options && make
cd $FFMPEG_CO_DIR && ./configure $options && make -j8
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment