mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
fix cfg of link attribute for window/linux/freebsd
This commit is contained in:
@@ -32,7 +32,7 @@ mod mac {
|
||||
extern {}
|
||||
}
|
||||
|
||||
#[cfg(all(target_os="windows", target_os="linux", target_os="freebsd"))]
|
||||
#[cfg(any(target_os="windows", target_os="linux", target_os="freebsd"))]
|
||||
mod others {
|
||||
#[link(name="SDL2_image")]
|
||||
extern {}
|
||||
|
||||
Reference in New Issue
Block a user