Skip to content

Commit

Permalink
Merge pull request #9 from nhanb/master
Browse files Browse the repository at this point in the history
Add linkLibC() to dynamic linking instruction
  • Loading branch information
karlseguin authored Oct 19, 2024
2 parents fd978f6 + ac4fc44 commit 15a10c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const zqlite = b.dependency("zqlite", .{
.optimize = optimize,
});
exe.linkLibC();
exe.linkSystemLibrary("sqlite3");
exe.root_module.addImport("zqlite", zqlite.module("zqlite"));
```
Expand Down

0 comments on commit 15a10c7

Please sign in to comment.