Ensure ffmpeg can find static pkg-config deps

This commit is contained in:
Ilya Fedin 2025-05-02 15:15:22 +04:00 committed by John Preston
parent 932bd92b95
commit d62b488459

View file

@ -30,6 +30,7 @@ RUN dnf -y install epel-release \
&& dnf clean all && dnf clean all
RUN python3 -m pip install meson ninja RUN python3 -m pip install meson ninja
RUN sed -i '/Requires.private: valgrind/d' /usr/lib64/pkgconfig/libdrm.pc
RUN echo set debuginfod enabled on > /opt/rh/{{ TOOLSET }}/root/etc/gdbinit.d/00-debuginfod.gdb RUN echo set debuginfod enabled on > /opt/rh/{{ TOOLSET }}/root/etc/gdbinit.d/00-debuginfod.gdb
RUN adduser user RUN adduser user
@ -482,6 +483,7 @@ RUN git clone -b n6.1.1 --depth=1 {{ GIT }}/FFmpeg/FFmpeg.git \
&& ./configure \ && ./configure \
--extra-cflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \ --extra-cflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-cxxflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \ --extra-cxxflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \
--pkg-config-flags=--static \
--disable-debug \ --disable-debug \
--disable-programs \ --disable-programs \
--disable-doc \ --disable-doc \