Fix Raspberry Pi build

This commit is contained in:
Cameron Gutman
2020-02-05 20:16:27 -08:00
parent 5cc322cc84
commit c02520bc4e

View File

@@ -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