Skip to content

Commit 09393d8

Browse files
committed
flutter-engine: export HOME for dart
Set the HOME variable to point to the WORKDIR to prevent any issues with dart runtime configs and cache. Required because of: dart-lang/sdk#41560 Signed-off-by: Randolph Sapp <[email protected]>
1 parent 2d0198c commit 09393d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipes-graphics/flutter-engine/flutter-engine_git.bb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ do_configure() {
224224
do_configure[depends] += "depot-tools-native:do_populate_sysroot"
225225

226226
do_compile() {
227+
# required for dart: https://github.com/dart-lang/sdk/issues/41560
228+
export HOME=${WORKDIR}
227229

228230
FLUTTER_RUNTIME_MODES="${@bb.utils.filter('PACKAGECONFIG', 'debug profile release jit_release', d)}"
229231
bbnote "FLUTTER_RUNTIME_MODES=${FLUTTER_RUNTIME_MODES}"

0 commit comments

Comments
 (0)