Skip to content

Commit ae973ea

Browse files
committed
Add local pkg-config
1 parent 88e6ac7 commit ae973ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile.linux

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ RUN tar -xf cmake-3.26.5-linux-x86_64.tar.gz
2121
RUN mv cmake-3.26.5-linux-x86_64 opt
2222
ENV CMAKE_ROOT=/ffmpeg-static/opt/share/cmake-3.27
2323

24+
# Install a recent version of pkg-config
25+
RUN wget https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz && \
26+
tar -xf pkg-config-0.28.tar.gz && \
27+
cd pkg-config-0.28 && \
28+
./configure --with-internal-glib --prefix=/ffmpeg-static/opt && make && make install
29+
2430
# Install a recent version of yasm
2531
RUN git clone https://github.com/yasm/yasm.git && \
2632
cd yasm \

0 commit comments

Comments
 (0)