File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ Then in your `build.zig` file you can use the dependency.
4646pub fn build(b: *std.Build) void {
4747 // ... snip ...
4848
49- const ziglua = b.dependency("ziglua ", .{
49+ const lua_dep = b.dependency("lua_wrapper ", .{
5050 .target = target,
5151 .optimize = optimize,
5252 });
5353
5454 // ... snip ...
5555
5656 // add the ziglua module and lua artifact
57- exe.root_module.addImport("ziglua", ziglua .module("ziglua"));
57+ exe.root_module.addImport("ziglua", lua_dep .module("ziglua"));
5858
5959}
6060```
@@ -70,7 +70,7 @@ There are currently three additional options that can be passed to `b.dependency
7070For example, here is a ` b.dependency() ` call that and links against a shared Lua 5.2 library:
7171
7272``` zig
73- const ziglua = b.dependency("ziglua ", .{
73+ const ziglua = b.dependency("lua_wrapper ", .{
7474 .target = target,
7575 .optimize = optimize,
7676 .lang = .lua52,
You can’t perform that action at this time.
0 commit comments