mirror of
https://github.com/simon987/sist2-build.git
synced 2025-04-04 08:43:00 +00:00
Patch mongoose to disable logging
This commit is contained in:
parent
b576772d4c
commit
d58d460d28
@ -24,6 +24,7 @@ RUN git clone https://github.com/microsoft/vcpkg.git && cd vcpkg && git checkout
|
||||
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 cd /vcpkg/ && ./bootstrap-vcpkg.sh
|
||||
|
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