Skip to content

Using -Diconv-impl=libiconv creates build error #2

Open
@silver-signal

Description

@silver-signal

Reproduction:

zig build -Diconv-impl=libiconv

Looks like just a typo when linking with libiconv:

libxml2/build.zig

Lines 214 to 221 in eddd40e

.libiconv => {
if (b.lazyDependency("libiconv", .{
.target = target,
.optimize = optimize,
})) |libiconv_dependency| {
xml_lib.root_module.linkLibrary(libiconv_dependency.artifact("z"));
}
},

I can submit a fix in the next week or two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions