-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow using system pugixml for build #106
Comments
Using subproject wraps this is actually really easy and Meson provides all the tools and UX for making this an option without you doing anything. Just, in addition to the above patch, create the directory |
What i find out is that the pugixml dependency doesnt work even if it builds it fails at runtime because the apis changed (thats why its not using the last version of pugixml). Ideally i would prefer to depend on r2's xml parser instead. So we dont depend on external things that eventually break so im not a big fan of adding the pption to use system wide pugixml |
Just add an exact version of pugixml as a dependency. If the system version is too new, it will not be found and the bundled one is forced. |
To me that looks like an extra moving piece that makes the maintainance harder and opens the doors to new bugs. But if thats not enabled by default and distros are happy with it im fine to ship it as a temporal fix. But the proper fix would be to use r2xml instead of external code |
I ended up patching meson.build by myself:
Would be nice to have such ability as an option in upstream.
The text was updated successfully, but these errors were encountered: