Skip to content
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

Add native deps dir of plugins to LD_LIBRARY_PATH #597

Closed
ebarnard opened this issue Sep 18, 2014 · 0 comments · Fixed by #617
Closed

Add native deps dir of plugins to LD_LIBRARY_PATH #597

ebarnard opened this issue Sep 18, 2014 · 0 comments · Fixed by #617

Comments

@ebarnard
Copy link

When building a package that depends on a plugin the native deps dir for the plugin should be added to the LD_LIBRARY_PATH or platform equivalent passed to rustc when building the package.

This would allow plugins that e.g. depend on a custom version of llvm that is not included in the default library path.

alexcrichton added a commit to alexcrichton/cargo that referenced this issue Sep 21, 2014
Ensure that the dynamic linker search path contains the location of the output
directories for these dependencies when compiling with plugins.

Closes rust-lang#597
bors added a commit that referenced this issue Sep 24, 2014
Ensure that the dynamic linker search path contains the location of the output
directories for these dependencies when compiling with plugins.

Closes #597
@bors bors closed this as completed in #617 Sep 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant