| 18 Jul 2025 |
emily | so it will notice they're the same and look at HOST_PKG_CONFIG and PKG_CONFIG_[buildPlatform] | 20:55:38 |
emily | I really need to find the person who came up with build/host/target and take them to the Hague or something | 20:56:03 |
emily | I don't care what they call build and host as long as they rename target to like if-you-are-not-writing-a-compiler-and-you-say-this-word-you-have-made-a-mistake | 20:56:37 |
dramforever | so if non-cross, it looks at HOST_PKG_CONFIG and PKG_CONFIG_underscored_triple | 20:57:12 |
emily | (dashed triple too! but yes) | 20:57:26 |
dramforever | if it's cross it uses pkg-config for build and PKG_CONFIG_underscored_triple for host? | 20:57:31 |
dramforever | really? | 20:57:40 |
dramforever | i thought it replaces '-' with '_' | 20:57:48 |
dramforever | otherwise why would they call it target_u | 20:57:57 |
dramforever | oh wait it checks both | 20:58:23 |
dramforever | ah yes my environment variable called foo-bar | 20:58:44 |
dramforever | this is definitely not a usability nightmare | 20:58:53 |
dramforever | anyway underscored should be fine | 20:59:11 |
dramforever | we do that in nixpkgs too right? | 20:59:16 |
emily | no | 20:59:21 |
emily | it has no notion of build or host | 20:59:23 |
emily | AFAICT | 20:59:27 |