Skip to content

Commit a124f5c

Browse files
committed
make BoringSSL the default TLS backend
1 parent 96a53c4 commit a124f5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub fn build(b: *Build) !void {
4646
b.option([]const u8, "git_commit", "Current git commit") orelse "dev",
4747
);
4848

49-
const use_boringssl = b.option(bool, "use-boringssl", "Whether use BoringSSL (default:false)") orelse false;
49+
const use_boringssl = b.option(bool, "use-boringssl", "Whether use BoringSSL (default:true)") orelse true;
5050

5151
const target = b.standardTargetOptions(.{});
5252
const optimize = b.standardOptimizeOption(.{});
@@ -69,7 +69,7 @@ pub fn build(b: *Build) !void {
6969

7070
// compile and install
7171
const exe = b.addExecutable(.{
72-
.name = if (use_boringssl) "lightpanda-boringssl" else "lightpanda-mbedtls",
72+
.name = "lightpanda",
7373
.use_llvm = true,
7474
.root_module = lightpanda_module,
7575
});

0 commit comments

Comments
 (0)