Cheat and pull windres from the normal binutils packages
LLVM does have llvm-rc, which almost does what is needed. Currently missing features: - It doesn't run the C preprocessor (which can be wrapped with a shellscript easily if necessary) - It chokes on C structs/typedefs normally found in included C headers
This commit is contained in:
1 parent
55e8aef024
commit
41985ce12e
1 file changed
+8
@@ -25,6 +25,14 @@ COPY wrappers/*.sh ./wrappers/
|
|||||||
COPY install-wrappers.sh .
|
COPY install-wrappers.sh .
|
||||||
RUN ./install-wrappers.sh $TOOLCHAIN_PREFIX
|
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 && \
|
||||||
|
apt-get remove -qqy binutils-mingw-w64-x86-64 && \
|
||||||
|
cd $TOOLCHAIN_PREFIX/bin
|
||||||
|
|
||||||
# Build MinGW-w64
|
# Build MinGW-w64
|
||||||
COPY build-mingw-w64.sh .
|
COPY build-mingw-w64.sh .
|
||||||
RUN ./build-mingw-w64.sh $TOOLCHAIN_PREFIX
|
RUN ./build-mingw-w64.sh $TOOLCHAIN_PREFIX
|
||||||
|
|||||||
Reference in new issue
Block a user