mirror of
https://github.com/jetzig-framework/jetquery.git
synced 2026-09-01 23:33:21 -06:00
openssl
This commit is contained in:
parent
5f0bb53864
commit
2d7659ddba
10
build.zig
10
build.zig
@ -17,10 +17,18 @@ pub fn build(b: *Build) !void {
|
||||
|
||||
b.installArtifact(lib);
|
||||
|
||||
// OpenSSL configuration options - these will be passed through to pg.zig
|
||||
// If not specified, pg.zig will disable OpenSSL support
|
||||
const openssl_lib_name = b.option([]const u8, "openssl_lib_name", "OpenSSL library name (e.g., 'ssl')");
|
||||
const openssl_lib_path = b.option(Build.LazyPath, "openssl_lib_path", "Path to OpenSSL library directory");
|
||||
const openssl_include_path = b.option(Build.LazyPath, "openssl_include_path", "Path to OpenSSL include directory");
|
||||
|
||||
const pg_dep = b.dependency("pg", .{
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.openssl_lib_name = "ssl",
|
||||
.openssl_lib_name = openssl_lib_name,
|
||||
.openssl_lib_path = openssl_lib_path,
|
||||
.openssl_include_path = openssl_include_path,
|
||||
});
|
||||
|
||||
const jetcommon_dep = b.dependency("jetcommon", .{
|
||||
|
||||
@ -9,8 +9,8 @@
|
||||
.hash = "jetcommon-0.1.0-jPY_DdhIAAAk0zqZQf6adpaL5s2g115R8TDZ9j-VboCO",
|
||||
},
|
||||
.pg = .{
|
||||
.url = "https://github.com/karlseguin/pg.zig/archive/4c2602bad095f9d85b16711d12aa3a2bc7e169cc.tar.gz",
|
||||
.hash = "pg-0.0.0-Wp_7gQ8FBgCRArfpYn9OdkUhGOUHVRXxB6h9S6lYu7bC",
|
||||
.url = "https://github.com/karlseguin/pg.zig/archive/f8d4892387fbad2abdf775783e101e50a7114335.tar.gz",
|
||||
.hash = "pg-0.0.0-Wp_7gag6BgD_QAZrPhNNEGpnUZR_LEkKT40Ura3p-4yX",
|
||||
},
|
||||
},
|
||||
.paths = .{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user