| 18 Jul 2025 |
emily | it's like when things try to think about cross they get even more confused | 20:46:58 |
dramforever | and also can't make a (L, C, C) compiler build other packages | 20:47:04 |
emily | yes, it just means we're always setting a "useless" thing | 20:47:13 |
emily | like the PKG_CONFIG_[buildPlatform] var is never useful | 20:47:24 |
emily | it might also mean we need to set PKG_CONFIG | 20:47:46 |
dramforever | i don't think it's cleaner to leave that out? | 20:47:48 |
emily | or HOST_PKG_CONFIG or whatever | 20:47:49 |
dramforever | so, whatever | 20:47:51 |
emily | because it looks for a relevant var when doing cross | 20:47:57 |
emily | but the logic is kind of tangled | 20:48:02 |
emily | let kind = if host == target { "HOST" } else { "TARGET" };
it's wonderful that it does this for no apparent reason
| 20:48:18 |
emily | I guess to handle the build script deps case | 20:48:26 |
dramforever | what uses HOST_PKG_CONFIG | 20:48:29 |
emily | so actually setting both should be fine⦠| 20:48:34 |
dramforever | does build script dep even look like cross | 20:48:44 |
emily | no, which is why ^ triggers | 20:48:53 |