From 3d05c94b9d8aa964e4ff848c95d5999cec170e04 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Sun, 30 Mar 2025 18:34:00 +0200 Subject: Big cleanup. --- build.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index fea9d7f..14f4ec4 100644 --- a/build.zig +++ b/build.zig @@ -23,7 +23,7 @@ pub fn build(b: *std.Build) void { // only contains e.g. external object files, you can make this `null`. // In this case the main source file is merely a path, however, in more // complicated build scripts, this could be a generated file. - .root_source_file = b.path("src/libzisp.zig"), + .root_source_file = b.path("src/zisp.zig"), .target = target, .optimize = optimize, }); @@ -42,14 +42,14 @@ pub fn build(b: *std.Build) void { // Modules can depend on one another using the `std.Build.Module.addImport` function. // This is what allows Zig source code to use `@import("foo")` where 'foo' is not a // file path. In this case, we set up `exe_mod` to import `lib_mod`. - exe_mod.addImport("libzisp", lib_mod); + exe_mod.addImport("zisp", lib_mod); // Now, we will create a static library based on the module we created above. // This creates a `std.Build.Step.Compile`, which is the build step responsible // for actually invoking the compiler. const lib = b.addLibrary(.{ .linkage = .static, - .name = "libzisp", + .name = "zisp", .root_module = lib_mod, }); -- cgit v1.2.3