Hello, I'm trying to build a C library that uses some ipv6 functions.
I'm using Windows and when compiling it with zig I get this linking error:
>>> referenced by C:\dev\destral_zig\zig-cache\o\c3cc2180f529e2197e4ade0dab04f72a\enet.obj:(enet_address_get_host_ip_new)
lld-link: error: undefined symbol: in6addr_any
>>> referenced by C:\dev\destral_zig\zig-cache\o\c3cc2180f529e2197e4ade0dab04f72a\enet.obj:(.refptr.in6addr_any)
I'm linking with this libraries:
exe.linkSystemLibrary("winmm");
exe.linkSystemLibrary("ws2_32");
What am I missing? I know that the zig std library uses these functions/symbols without problems..