diff --git a/pkgs/native_toolchain_c/test/clinker/treeshake_test.dart b/pkgs/native_toolchain_c/test/clinker/treeshake_test.dart index a7c7d7a5b..51b173434 100644 --- a/pkgs/native_toolchain_c/test/clinker/treeshake_test.dart +++ b/pkgs/native_toolchain_c/test/clinker/treeshake_test.dart @@ -29,7 +29,8 @@ Future main() async { linkerOptions: LinkerOptions.manual( flags: ['--strip-debug', '-u', 'my_other_func'], gcSections: true, - linkerScript: Uri.file('test/clinker/testfiles/linker/symbols.lds'), + linkerScript: + packageUri.resolve('test/clinker/testfiles/linker/symbols.lds'), ), ); CLinker linkerAuto(List sources) => CLinker.library(