Add windres wrapper for LLVM tools

This commit is contained in:
Josh de Kock authored and Martin Storsjö committed 2018-05-05 00:14:45 +03:00
1 parent 37e0a35aa5
commit 08224169fd
3 files changed
+244 -18

No files matched your search

-9
View File
@@ -28,15 +28,6 @@ COPY wrappers/*.sh ./wrappers/
COPY install-wrappers.sh .
RUN ./install-wrappers.sh $TOOLCHAIN_PREFIX
# Cheating: Pull windres from the normal binutils package.
# llvm-rc isn't fully usable as a replacement for windres yet.
RUN apt-get update -qq && \
apt-get install -qqy binutils-mingw-w64-x86-64 && \
cp /usr/bin/x86_64-w64-mingw32-windres $TOOLCHAIN_PREFIX/bin/x86_64-w64-mingw32-windresreal && \
apt-get remove -qqy binutils-mingw-w64-x86-64 && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
# Build MinGW-w64
COPY build-mingw-w64.sh .
RUN ./build-mingw-w64.sh $TOOLCHAIN_PREFIX