build: use Zig system packaging options

This allows dynamically linking against system libraries, which is
particularly useful for packaging.
This commit is contained in:
Mitchell Hashimoto
2024-10-24 10:03:11 -07:00
parent 61aff898bd
commit 8bb8b01e54
9 changed files with 388 additions and 269 deletions

View File

@@ -20,7 +20,6 @@ const WasmTarget = @import("os/wasm/target.zig").Target;
/// build types, etc.
pub const BuildConfig = struct {
version: std.SemanticVersion = .{ .major = 0, .minor = 0, .patch = 0 },
static: bool = false,
flatpak: bool = false,
libadwaita: bool = false,
app_runtime: apprt.Runtime = .none,