This package cannot be cross compiled, because it tries to evaluate something at install time. Therefore p3m and webr and r-universe need to patch this package, which is a headache, e.g https://github.com/r-wasm/xml2/tree/webr
This PR changes it such that this code is evaluated during CMD build, instead of CMD INSTALL, such that we can cross compile from a source package without having to run anything.
This package cannot be cross compiled, because it tries to evaluate something at install time. Therefore p3m and webr and r-universe need to patch this package, which is a headache, e.g https://github.com/r-wasm/xml2/tree/webr
This PR changes it such that this code is evaluated during CMD build, instead of CMD INSTALL, such that we can cross compile from a source package without having to run anything.
@georgestagg @tylfin