Skip to content

allyourcodebase/libarchive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

libarchive

This is libarchive, packaged for Zig.

Installation

First, update your build.zig.zon:

# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/libarchive.git#3.8.1

You can then import libarchive in your build.zig with:

const bzip_dependency = b.dependency("libarchive", .{
    .target = target,
    .optimize = optimize,
});
your_exe.linkLibrary(bzip_dependency.artifact("archive"));

Note

Cross compiling to MacOS requires CoreServices.

About

libarchive ported to the zig build system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages