From c02520bc4e79496307a27602c8be2ebd21d88d76 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 5 Feb 2020 20:16:27 -0800 Subject: [PATCH] Fix Raspberry Pi build --- scripts/build-deps.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build-deps.sh b/scripts/build-deps.sh index 915b2f4..fd9e859 100755 --- a/scripts/build-deps.sh +++ b/scripts/build-deps.sh @@ -5,6 +5,10 @@ BASE_FFMPEG_ARGS="--enable-pic --enable-static --disable-shared --disable-all -- ARCH=`uname -m` echo "Building dependencies for $ARCH" if [ "$ARCH" == "armv7l" ]; then + # Copy libraspberrypi-dev pkgconfig files into the default location + mkdir -p /usr/local/lib/pkgconfig + cp /opt/vc/lib/pkgconfig/* /usr/local/lib/pkgconfig/ + # Enable MMAL decoders EXTRA_FFMPEG_ARGS="--enable-mmal --enable-decoder=h264_mmal" elif [ "$ARCH" == "aarch64" ]; then