Skip to content

Commit 8a56bc7

Browse files
committed
Disable threadsafe flag for now
1 parent c27ba1b commit 8a56bc7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

gen/genBins.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const flags = [
2828
"DSQLITE_INTROSPECTION_PRAGMAS=1",
2929
"DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1",
3030
"DSQLITE_OMIT_DEPRECATED=1",
31-
"DSQLITE_THREADSAFE=1",
31+
"DSQLITE_THREADSAFE=0",
3232
"DSQLITE_USE_URI=1",
3333
];
3434

@@ -61,6 +61,7 @@ class Generator extends GenBase {
6161
});
6262

6363
this.push(`chmod +x dist/sqlite3-ubuntu`);
64+
this.push("ls -la dist/");
6465
}
6566

6667
genMac() {
@@ -85,14 +86,14 @@ class Generator extends GenBase {
8586
});
8687

8788
this.push(`chmod +x dist/sqlite3-mac`);
89+
this.push("ls -la dist/");
8890
}
8991

9092
genWindows() {
9193
let path = "bin/compile-windows.sh";
9294
this.lines = [];
9395
this.windowsContent();
9496
fs.writeFileSync(path, this.content, "utf-8");
95-
// fs.chmodSync(path, 0o755);
9697
}
9798

9899
windowsContent() {

0 commit comments

Comments
 (0)