git repos / docker_mxe

commit c01a3f86

Poul Sander · 2019-07-03 20:23
c01a3f8681416407d95aaebd4af5ea8e19999fc1 patch · browse files
parent 0ad6c672cce6ef7046f54cd63b5e34b647b71cbf

Compile custom version of physfs until physfs 3.0.2 is in apt

Changed files

M mxe_blockattack/Dockerfile before
diff --git a/mxe_blockattack/Dockerfile b/mxe_blockattack/Dockerfile index bcda342..1408e69 100644 --- a/mxe_blockattack/Dockerfile +++ b/mxe_blockattack/Dockerfile
@@ -14,4 +14,13 @@ RUN apt-get update && \
mxe-i686-w64-mingw32.static-freetype \
mxe-i686-w64-mingw32.static-zlib \
zip
+
+RUN mkdir -p /staging/deps && cd /staging/deps && curl http://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2 | tar -jx && cd physfs-3.0.2 && ls -lrt \
+&& cd /staging/deps/physfs-3.0.2 \
+&& i686-w64-mingw32.static-cmake . -DPHYSFS_BUILD_STATIC=TRUE \
+ -DPHYSFS_BUILD_SHARED=FALSE \
+ -DPHYSFS_INTERNAL_ZLIB=FALSE \
+ -DPHYSFS_BUILD_TEST=FALSE \
+-DPHYSFS_BUILD_WX_TEST=FALSE && make && make install
+
COPY build_it.sh /