Skip to content

Commit aaae702

Browse files
authored
Merge pull request #3646 from bzEq/aix-link-libs
Fix configuration for AIX
2 parents df520eb + 18dca23 commit aaae702

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
@@ -395,7 +395,7 @@ cfg_if! {
395395
#[cfg_attr(feature = "rustc-dep-of-std",
396396
link(name = "c", cfg(not(target_feature = "crt-static"))))]
397397
extern {}
398-
} else if #[cfg(target_env = "aix")] {
398+
} else if #[cfg(target_os = "aix")] {
399399
#[link(name = "c")]
400400
#[link(name = "m")]
401401
#[link(name = "bsd")]

0 commit comments

Comments
 (0)