summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Dmitry Matveyev2022-08-29 09:30:54 +0600
committerGravatar Vincent Rischmann2022-08-29 23:08:04 +0200
commitd53ab5848eba22d6dcaa60aeeedc54344c4219b8 (patch)
treec2a873ff630a998d5a62b49ab7293e398727e2a4 /README.md
parentFix error formatting in readme for the newest zig 3685+dae7aeb33 (diff)
downloadzig-sqlite-d53ab5848eba22d6dcaa60aeeedc54344c4219b8.tar.gz
zig-sqlite-d53ab5848eba22d6dcaa60aeeedc54344c4219b8.tar.xz
zig-sqlite-d53ab5848eba22d6dcaa60aeeedc54344c4219b8.zip
Remove unnecessary linkLibC() when static linking
Diffstat (limited to '')
-rw-r--r--README.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/README.md b/README.md
index dcd474b..195f49c 100644
--- a/README.md
+++ b/README.md
@@ -124,7 +124,6 @@ If you need to define custom [compile-time options](https://www.sqlite.org/compi
124Now it's just a matter of linking your `build.zig` target(s) to this library instead of the system one: 124Now it's just a matter of linking your `build.zig` target(s) to this library instead of the system one:
125 125
126```zig 126```zig
127exe.linkLibC();
128exe.linkLibrary(sqlite); 127exe.linkLibrary(sqlite);
129exe.addPackagePath("sqlite", "third_party/zig-sqlite/sqlite.zig"); 128exe.addPackagePath("sqlite", "third_party/zig-sqlite/sqlite.zig");
130exe.addIncludeDir("third_party/zig-sqlite/c"); 129exe.addIncludeDir("third_party/zig-sqlite/c");