Skip to content

Commit

Permalink
improve: build
Browse files Browse the repository at this point in the history
  • Loading branch information
freref committed Feb 26, 2025
1 parent e4cba52 commit 31d2dda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});

const prefix = b.option([]const u8, "prefix", "Installation prefix") orelse "./local";
const prefix = "./local";
const location = "./deps/mupdf/local";

var make_args = std.ArrayList([]const u8).init(b.allocator);
defer make_args.deinit();
Expand Down Expand Up @@ -60,7 +61,7 @@ pub fn build(b: *std.Build) void {

exe.step.dependOn(&mupdf_build_step.step);

addMupdfDeps(exe, b, prefix);
addMupdfDeps(exe, b, location);

b.installArtifact(exe);
b.getInstallStep().dependOn(&mupdf_build_step.step);
Expand Down

0 comments on commit 31d2dda

Please sign in to comment.