s390: don't hardcode paths, search PATH#326
Conversation
This removes hardcoded binary paths from src/plugins/s390.c. Signed-off-by: Florian Klink <[email protected]>
|
Actually, would it be possible to make the paths adjustable in |
|
I'd agree it would be useful to keep track of all the used binaries, and warn (or error) if those binaries were not found at configure time. We could use But in general, this would be out of the scope of this PR, but a separate one. |
I don't see any reason why the binaries should have to be required at configure phase. The only case would be if somebody wanted to run the tests, but that's not the usual case for this library when just building it. And to be honest, I think searching for the binaries in |
|
@vpodzime using This can be used to only warn at configure phase if the binary is missing, and still rely on |
Failing only at runtime if a binary is missing is one of the goals here. That way other things can still be used. |
That sounds like a plan to me. |
|
Great! Will file a followup PR for that. Anything missing on this one here? |
No, I'm just going to merge it. Thanks! |
This removes hardcoded binary paths from src/plugins/s390.c.