mirror of
https://github.com/simon987/sist2-build-arm64.git
synced 2025-04-04 17:03:00 +00:00
Patch mongoose to disable logging
This commit is contained in:
parent
ae21d785b0
commit
2ad738b6c8
@ -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 \
|
||||
|
10
patches/mongoose-nolog.patch
Normal file
10
patches/mongoose-nolog.patch
Normal file
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user