File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,10 @@ ${usedSqliteSymbols.map((symbol) => ' $symbol;').join('\n')}
7676 sources: [sourceFile],
7777 includes: [p.dirname (sourceFile)],
7878 defines: defines,
79- buildMode: BuildMode .debug,
80- optimizationLevel: OptimizationLevel .o1,
8179 flags: [
8280 if (input.config.code.targetOS == OS .linux) ...[
8381 // This avoids loading issues on Linux, see comment above.
84- '-Wl,-Bsymbolic-functions ' ,
82+ '-Wl,-Bsymbolic' ,
8583 // And since we already have a designated list of symbols to
8684 // export, we might as well strip the rest.
8785 // TODO: Port this to other targets too.
Original file line number Diff line number Diff line change @@ -169,10 +169,7 @@ const usedSqliteSymbols = {
169169 final library = ffigen.parse (
170170 Config (
171171 output: Uri .parse ('unused' ),
172- entryPoints: [
173- Uri .parse ('assets/sqlite3.h' ),
174- Uri .parse ('assets/sqlite3_dart_wasm.h' ),
175- ],
172+ entryPoints: [Uri .parse ('assets/sqlite3.h' )],
176173 functionDecl: _includeSqlite3Only,
177174 globals: _includeSqlite3Only,
178175 ),
You can’t perform that action at this time.
0 commit comments