mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
parent
8d9ab6cd76
commit
d787d2b1cf
@ -86,6 +86,9 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
.windows => {
|
.windows => {
|
||||||
lib.defineCMacro("HAVE_RAISE", "1");
|
lib.defineCMacro("HAVE_RAISE", "1");
|
||||||
lib.defineCMacro("HAVE_SYS_PARAM_H", "1");
|
lib.defineCMacro("HAVE_SYS_PARAM_H", "1");
|
||||||
|
if (lib == static) {
|
||||||
|
lib.defineCMacro("SODIUM_STATIC", "1");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
.macos => {
|
.macos => {
|
||||||
lib.defineCMacro("ASM_HIDE_SYMBOL", ".private_extern");
|
lib.defineCMacro("ASM_HIDE_SYMBOL", ".private_extern");
|
||||||
|
Loading…
Reference in New Issue
Block a user