Commit e71c4f4
committed
fix: patch aws-lc-sys with iOS cross-compilation fix
aws-lc-sys 0.38.0 fails to compile urandom.c for aarch64-apple-ios on
Xcode 16.2 because target.h doesn't include <TargetConditionals.h>,
so OPENSSL_IOS is never defined and the build falls through to the
Linux urandom path.
Patch points at lukejmann/aws-lc-rs#fix/ios-cross-compilation which:
1. Adds #include <TargetConditionals.h> to target.h (root cause)
2. Guards RNDGETENTCNT/ioctl in urandom.c behind OPENSSL_LINUX (defensive)
Made-with: Cursor1 parent d71e976 commit e71c4f4
2 files changed
+4
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
0 commit comments