mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
@@ -86,6 +86,9 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
.windows => {
|
||||
lib.defineCMacro("HAVE_RAISE", "1");
|
||||
lib.defineCMacro("HAVE_SYS_PARAM_H", "1");
|
||||
if (lib == static) {
|
||||
lib.defineCMacro("SODIUM_STATIC", "1");
|
||||
}
|
||||
},
|
||||
.macos => {
|
||||
lib.defineCMacro("ASM_HIDE_SYMBOL", ".private_extern");
|
||||
|
||||
Reference in New Issue
Block a user