| author | |
| committer | |
| log | b2126d33459a188272c23f2846894242a8c80e10 |
| tree | 2e87e490fe780be50c3e96575f9d9114a455bcd9 |
| parent | 742d588b3a2fc73c4bf6802f4ea37edb2534226f |
The other libc components are not available on android.1 files changed, 14 insertions(+), 7 deletions(-)
src/target.zig+14-7| ... | @@ -387,13 +387,20 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { | ... | @@ -387,13 +387,20 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { |
| 387 | "-lc", | 387 | "-lc", |
| 388 | "-lutil", | 388 | "-lutil", |
| 389 | }, | 389 | }, |
| 390 | else => &[_][]const u8{ | 390 | else => switch (target.abi) { |
| 391 | "-lm", | 391 | .android => &[_][]const u8{ |
| 392 | "-lpthread", | 392 | "-lm", |
| 393 | "-lc", | 393 | "-lc", |
| 394 | "-ldl", | 394 | "-ldl", |
| 395 | "-lrt", | 395 | }, |
| 396 | "-lutil", | 396 | else => &[_][]const u8{ |
| 397 | "-lm", | ||
| 398 | "-lpthread", | ||
| 399 | "-lc", | ||
| 400 | "-ldl", | ||
| 401 | "-lrt", | ||
| 402 | "-lutil", | ||
| 403 | }, | ||
| 397 | }, | 404 | }, |
| 398 | }; | 405 | }; |
| 399 | } | 406 | } |