Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 947059 | Differences between
and this patch

Collapse All | Expand All

(-)a/build.zig (-1 / +2 lines)
Lines 1049-1054 fn addDeps( Link Here
1049
    // mode first. Mode first will search all paths for a dynamic library
1049
    // mode first. Mode first will search all paths for a dynamic library
1050
    // before falling back to static.
1050
    // before falling back to static.
1051
    const dynamic_link_opts: std.Build.Module.LinkSystemLibraryOptions = .{
1051
    const dynamic_link_opts: std.Build.Module.LinkSystemLibraryOptions = .{
1052
        .use_pkg_config = .force,
1052
        .preferred_link_mode = .dynamic,
1053
        .preferred_link_mode = .dynamic,
1053
        .search_strategy = .mode_first,
1054
        .search_strategy = .mode_first,
1054
    };
1055
    };
Lines 1377-1383 fn addDeps( Link Here
1377
1378
1378
            .gtk => {
1379
            .gtk => {
1379
                step.linkSystemLibrary2("gtk4", dynamic_link_opts);
1380
                step.linkSystemLibrary2("gtk4", dynamic_link_opts);
1380
                if (config.adwaita) step.linkSystemLibrary2("adwaita-1", dynamic_link_opts);
1381
                if (config.adwaita) step.linkSystemLibrary2("libadwaita-1", dynamic_link_opts);
1381
1382
1382
                {
1383
                {
1383
                    const gresource = @import("src/apprt/gtk/gresource.zig");
1384
                    const gresource = @import("src/apprt/gtk/gresource.zig");

Return to bug 947059