summaryrefslogtreecommitdiffstats
path: root/ffmpeg
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-10-06 20:07:09 +0000
committer Eric Hameleers <alien@slackware.com>2015-10-06 20:07:09 +0000
commitc4bfd34d6804db14db9aa87800aa8fcf1aa0fa73 (patch)
tree360242d62119f58bae9c01bbe6408b66823dcbb3 /ffmpeg
parent35dc23dd9413bf9ee6e51af3ef5062f7a98c716a (diff)
downloadasb-c4bfd34d6804db14db9aa87800aa8fcf1aa0fa73.tar.gz
asb-c4bfd34d6804db14db9aa87800aa8fcf1aa0fa73.tar.xz
ffmpeg: fix the linker errors of libvpx on -current (which already has an older version of libvpx)
Diffstat (limited to 'ffmpeg')
-rwxr-xr-xffmpeg/build/ffmpeg.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/ffmpeg/build/ffmpeg.SlackBuild b/ffmpeg/build/ffmpeg.SlackBuild
index d301675f..9c6ea666 100755
--- a/ffmpeg/build/ffmpeg.SlackBuild
+++ b/ffmpeg/build/ffmpeg.SlackBuild
@@ -1268,18 +1268,22 @@ case "$ARCH" in
;;
esac
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="$SLKLDFLAGS" \
+CFLAGS="-I$FFMPEGDEPSDIR/usr/include $SLKCFLAGS" \
+CXXFLAGS="-I$FFMPEGDEPSDIR/usr/include $SLKCFLAGS" \
+LDFLAGS="-L$FFMPEGDEPSDIR/usr/lib${LIBDIRSUFFIX} $SLKLDFLAGS" \
+PKG_CONFIG_PATH="$FFMPEGDEPSDIR/usr/lib${LIBDIRSUFFIX}/pkgconfig" \
./configure \
--prefix=$FFMPEGDEPSDIR/usr \
--libdir=$FFMPEGDEPSDIR/usr/lib${LIBDIRSUFFIX} \
--disable-examples \
--disable-debug-libs \
--disable-debug \
+ --disable-unit-tests \
--enable-postproc \
--enable-runtime-cpu-detect \
--enable-vp8 \
+ --enable-vp9 \
+ --enable-vp9-postproc \
$ARCHOPTS \
2>&1 | tee $OUTPUT/configure-${PRGNAM}_vpx.log
make ${NUMJOBS} 2>&1 | tee $OUTPUT/make-${PRGNAM}_vpx.log