Skip to content

Commit 1f3ce6a

Browse files
committed
fix: nintendo: disable and enable curl features explicitly
1 parent 1d21faf commit 1f3ce6a

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

platforms/build-3ds.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,12 @@ if [ "$COMPILE_TYPE" == "complete_rebuild" ] || [ ! -e "$BUILD_DIR" ]; then
255255
"--wipe" \
256256
--cross-file "$CROSS_FILE" \
257257
"-Dbuildtype=$BUILDTYPE" \
258-
-Ddefault_library=static
258+
-Ddefault_library=static \
259+
-Dcurl:tests=disabled \
260+
-Dcurl:unittests=disabled \
261+
-Dcurl:bearer-auth=enabled \
262+
-Dcurl:brotli=enabled \
263+
-Dcurl:libz=enabled
259264

260265
fi
261266

platforms/build-switch.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,12 @@ if [ "$COMPILE_TYPE" == "complete_rebuild" ] || [ ! -e "$BUILD_DIR" ]; then
152152
"--wipe" \
153153
--cross-file "$CROSS_FILE" \
154154
"-Dbuildtype=$BUILDTYPE" \
155-
-Ddefault_library=static
155+
-Ddefault_library=static \
156+
-Dcurl:tests=disabled \
157+
-Dcurl:unittests=disabled \
158+
-Dcurl:bearer-auth=enabled \
159+
-Dcurl:brotli=enabled \
160+
-Dcurl:libz=enabled
156161

157162
fi
158163

tools/dependencies/meson.build

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,11 +386,6 @@ if build_application
386386
required: true,
387387
default_options: {
388388
'tests': 'disabled',
389-
'curl:tests': 'disabled',
390-
'curl:unittests': 'disabled',
391-
'curl:bearer-auth': 'enabled',
392-
'curl:brotli': 'enabled',
393-
'curl:libz': 'enabled',
394389
},
395390
)
396391

0 commit comments

Comments
 (0)