Skip to content

Commit 31b2b2e

Browse files
Kai Luotgross35
authored andcommitted
Fix configuration for AIX
(backport <#3646>) (cherry picked from commit 18dca23)
1 parent b63b626 commit 31b2b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ cfg_if! {
396396
#[cfg_attr(feature = "rustc-dep-of-std",
397397
link(name = "c", cfg(not(target_feature = "crt-static"))))]
398398
extern {}
399-
} else if #[cfg(target_env = "aix")] {
399+
} else if #[cfg(target_os = "aix")] {
400400
#[link(name = "c")]
401401
#[link(name = "m")]
402402
#[link(name = "bsd")]

0 commit comments

Comments
 (0)