mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
parent
8d9ab6cd76
commit
d787d2b1cf
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user