Skip to content

Commit

Permalink
Use ldconfig to update ldcache
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Oct 27, 2022
1 parent fa386a7 commit 77f945c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builders/Dockerfile.mingw64
Expand Up @@ -15,7 +15,6 @@ ENV PACMAN_VERSION=6.0.1
ENV PACMAN_SHA256="0db61456e56aa49e260e891c0b025be210319e62b15521f29d3e93b00d3bf731"
ENV MSYS2_KEYRING_PKG="msys2-keyring-1~20220623-1-any.pkg.tar.zst"
ENV MSYS2_KEYRING_PKG_SHA256="3508c7fca2f8b9722139666459eb8716f2413fd6daaf997abf0df41d7f285dc9"
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu

RUN set -ex && \
apt-get update && \
Expand Down Expand Up @@ -43,7 +42,8 @@ RUN set -ex && \
-Di18n=false \
build && \
ninja -C build && \
ninja -C build install
ninja -C build install && \
ldconfig

COPY mingw64/etc/ /windows/etc/

Expand Down Expand Up @@ -100,12 +100,12 @@ COPY mingw64/bin/ /usr/local/bin/
RUN mkdir /build

WORKDIR /build
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu

# start wine to initially create config directory
RUN /usr/local/bin/mingw-w64-i686-wine hostname.exe && \
/usr/local/bin/mingw-w64-x86_64-wine hostname.exe && \
# install GTK3 and all its dependencies
ldconfig && \
pacman --noconfirm -Sy mingw-w64-x86_64-gtk3 && \
# cleanup
apt-get clean && \
Expand Down

0 comments on commit 77f945c

Please sign in to comment.