Skip to content

Commit

Permalink
Merge pull request #30 from AnErrupTion/lib64-fix
Browse files Browse the repository at this point in the history
Add lib64 path in build_utils.zig
  • Loading branch information
MoAlyousef authored May 8, 2024
2 parents c44c00d + 5c3fffe commit 5684d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_utils.zig
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ pub fn cfltk_link(exe: *CompileStep, install_prefix: []const u8, opts: FinalOpts
exe.addIncludePath(.{ .path = inc_dir });
const lib_dir = try std.fmt.bufPrint(buf[0..], "{s}/cfltk/lib/lib", .{install_prefix});
exe.addLibraryPath(.{ .path = lib_dir });
const lib64_dir = try std.fmt.bufPrint(buf[0..], "{s}/cfltk/lib/lib64", .{install_prefix});
exe.addLibraryPath(.{ .path = lib64_dir });
exe.linkSystemLibrary("cfltk");
exe.linkSystemLibrary("fltk");
exe.linkSystemLibrary("fltk_images");
Expand Down

0 comments on commit 5684d4f

Please sign in to comment.