Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 2d193c0

Browse files
authored
Merge pull request #18 from foxzool/main
Fixed cross-compil build from Linux to Windows
2 parents d51c73a + 36cb1b5 commit 2d193c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ifaces/ffi/windows/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const PREALLOC_ADAPTERS_LEN: usize = 15 * 1024;
3030

3131
use crate::ifaces::{Interface, Kind, NextHop};
3232

33-
#[link(name = "Iphlpapi")]
33+
#[link(name = "iphlpapi")]
3434
extern "system" {
3535
pub fn GetAdaptersAddresses(
3636
family: ULONG,

0 commit comments

Comments
 (0)