diff --git a/Dockerfile b/Dockerfile index 92629f8..04f7351 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,7 @@ RUN cd vcpkg && ./bootstrap-vcpkg.sh ADD patches/* / RUN cd /vcpkg; patch -p1 < ../mupdf-curl-dep.patch RUN cd /vcpkg; patch -p1 < ../mongoose-master.patch +RUN cd /vcpkg; patch -p1 < ../mongoose-nolog.patch RUN cd /vcpkg; patch -p1 < ../libraw.patch RUN VCPKG_FORCE_SYSTEM_BINARIES=true ./vcpkg/vcpkg install \ diff --git a/patches/mongoose-nolog.patch b/patches/mongoose-nolog.patch new file mode 100644 index 0000000..d0a7e81 --- /dev/null +++ b/patches/mongoose-nolog.patch @@ -0,0 +1,10 @@ +--- a/ports/mongoose/CMakeLists.txt ++++ b/ports/mongoose/CMakeLists.txt +@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.14) + + project(mongoose C) + ++add_compile_definitions("MG_ENABLE_LOG=0") ++ + include(GNUInstallDirs) +