Compare commits

...

1 Commits

Author SHA1 Message Date
Jarred Sumner
c081a97a39 libarchive 2025-03-28 02:53:44 -07:00
4 changed files with 392 additions and 850 deletions

View File

@@ -434,6 +434,7 @@ fn getTranslateC(b: *Build, target: std.Build.ResolvedTarget, optimize: std.buil
const str, const value = entry;
translate_c.defineCMacroRaw(b.fmt("{s}={d}", .{ str, @intFromBool(value) }));
}
translate_c.addIncludePath(b.path("vendor/libarchive"));
return translate_c;
}

View File

@@ -4,7 +4,7 @@ register_repository(
REPOSITORY
libarchive/libarchive
COMMIT
898dc8319355b7e985f68a9819f182aaed61b53a
e31747775b9182d7e08c0ab5115c6861703a5efa
)
register_cmake_command(

View File

@@ -42,3 +42,8 @@
#include <sys/socket.h>
#include <linux/fs.h>
#endif
#if __has_include(<libarchive/archive.h>)
#include <libarchive/archive.h>
#include <libarchive/archive_entry.h>
#endif

File diff suppressed because it is too large Load Diff