[ffmpeg] LDFLAGS is not present

This commit is contained in:
Mike Aizatsky 2016-12-27 16:22:12 -08:00 committed by GitHub
parent ce0b39b2e4
commit 64f8b6593d
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ make -j$(nproc) all
make install
cd $SRC/libvpx
LDFLAGS="$CXXFLAGS $LDFLAGS" ./configure --prefix="$FFMPEG_DEPS_PATH" \
LDFLAGS="$CXXFLAGS" ./configure --prefix="$FFMPEG_DEPS_PATH" \
--disable-examples --disable-unit-tests
make clean
make -j$(nproc) all
@ -102,7 +102,7 @@ make install
cd $SRC/theora
# theora requires ogg, need to pass its location to the "configure" script.
CFLAGS="$CFLAGS -fPIC" LDFLAGS="$LDFLAGS -L$FFMPEG_DEPS_PATH/lib/" \
CFLAGS="$CFLAGS -fPIC" LDFLAGS="-L$FFMPEG_DEPS_PATH/lib/" \
CPPFLAGS="$CXXFLAGS -I$FFMPEG_DEPS_PATH/include/" \
LD_LIBRARY_PATH="$FFMPEG_DEPS_PATH/lib/" \
./autogen.sh --prefix="$FFMPEG_DEPS_PATH" --enable-static --disable-examples