maybe a better approach to set library path #101
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When I use this module, the rust compiler always couldn't find where the libxml2 located in. I just want to find out if there is a proper way to define a valid path of native library to compiler?
After several hours searching, I found something in official document website that I want to discuss.
link or links?
I tried to find a official introduction about the
link
section, but found nothing. Maybe I missed something?Instead, there is a similar field named
links
inpackage
section.By using this field, we can override the build parameters by providing a project-level configuration, and no need to modify environment variables or create any softlink.
Documents about overriding build scripts are here.
In this situation, build scripts will be disabled since a target-override is provided.
conclusion
I have no idea whether this is a better approach, compared with some manual filesystem operations?
So I create this to discuss it, please feel free to comment, edit or close this PR.
I'm not familiar with how to submit a PR, but I would be very happy if this could help somehow. And thank you for your continuously brilliant work!