Docker: patch Polyseed for static lib

This commit is contained in:
tobtoht 2022-07-06 17:59:05 +02:00
parent fc9caef79a
commit b8d7438c6a
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -165,10 +165,15 @@ RUN git clone -b 0.23.92 --depth 1 --recursive https://github.com/mchehab/zbar.g
make install && \ make install && \
rm -rf $(pwd) rm -rf $(pwd)
COPY contrib/patches/polyseed/force-static-mingw.patch .
COPY contrib/patches/polyseed/no_shared.patch .
# polyseed: Required for Feather # polyseed: Required for Feather
RUN git clone https://github.com/tevador/polyseed.git && \ RUN git clone https://github.com/tevador/polyseed.git && \
cd polyseed && \ cd polyseed && \
git reset --hard 4945d8239d6b26dc12723ca2aaa9f8110ceff5af && \ git reset --hard 4945d8239d6b26dc12723ca2aaa9f8110ceff5af && \
git apply ../force-static-mingw.patch && \
git apply ../no_shared.patch && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/depends/x86_64-w64-mingw32 \ cmake -DCMAKE_INSTALL_PREFIX=/depends/x86_64-w64-mingw32 \