File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void build_boringssl(const char *arch) {
7575
7676#ifdef IS_MACOS
7777 /* Build for x64 (the host) */
78- run ("cd uWebSockets/uSockets/boringssl && mkdir -p x64 && cd x64 && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=12 .0 .. && make crypto ssl" );
78+ run ("cd uWebSockets/uSockets/boringssl && mkdir -p x64 && cd x64 && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=11 .0 .. && make crypto ssl" );
7979
8080 /* Build for arm64 (cross compile) */
8181 run ("cd uWebSockets/uSockets/boringssl && mkdir -p arm64 && cd arm64 && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 .. && make crypto ssl" );
@@ -154,8 +154,8 @@ int main() {
154154#ifdef IS_MACOS
155155
156156 /* Apple special case */
157- build ("clang -mmacosx-version-min=12 .0" ,
158- "clang++ -stdlib=libc++ -mmacosx-version-min=12 .0" ,
157+ build ("clang -mmacosx-version-min=11 .0" ,
158+ "clang++ -stdlib=libc++ -mmacosx-version-min=11 .0" ,
159159 "-undefined dynamic_lookup" ,
160160 OS ,
161161 X64 );
You can’t perform that action at this time.
0 commit comments