From a0058a7623db2570c301f6fdffe5ed79e6f19604 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 7 Jun 2022 17:35:41 +0200 Subject: [PATCH] Strip builds --- build.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.zig b/build.zig index 197c2b0c..244770d2 100644 --- a/build.zig +++ b/build.zig @@ -15,6 +15,9 @@ pub fn build(b: *std.build.Builder) !void { const static = b.addStaticLibrary("sodium", null); const shared = b.addSharedLibrary("sodium", null, .unversioned); + shared.strip = true; + static.strip = true; + const libs = [_]*LibExeObjStep{ static, shared }; const prebuilt_version_file_path = "builds/msvc/version.h";