]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Docker: patch Polyseed for static lib
authortobtoht <thotbot@protonmail.com>
Wed, 6 Jul 2022 15:59:05 +0000 (17:59 +0200)
committertobtoht <thotbot@protonmail.com>
Wed, 6 Jul 2022 15:59:05 +0000 (17:59 +0200)
Dockerfile.windows

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