From 5c3fffe1db02218004ea102ee8e3efcc2d2d4257 Mon Sep 17 00:00:00 2001 From: AnErrupTion Date: Wed, 8 May 2024 22:25:08 +0200 Subject: [PATCH] Add lib64 path in build_utils.zig Signed-off-by: AnErrupTion --- build_utils.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_utils.zig b/build_utils.zig index f656408..5c05fb0 100644 --- a/build_utils.zig +++ b/build_utils.zig @@ -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");