Skip to content

mk: tell rustc that we're only looking for native libs in the LLVM_LIBDIR #28023

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

Merged
merged 1 commit into from
Aug 27, 2015

Conversation

codyps
Copy link
Contributor

@codyps codyps commented Aug 26, 2015

This fixes the case where we try to re-build & re-install rust to the
same prefix (without uninstalling) while using an llvm-root that is the
same as the prefix.

Without this, builds like that fail with:
'error: multiple dylib candidates for std found'

See https://github.com/jmesmon/meta-rust/issues/6 for some details.

May also be related to #20342.

…BDIR

This fixes the case where we try to re-build & re-install rust to the
same prefix (without uninstalling) while using an llvm-root that is the
same as the prefix.

Without this, builds like that fail with:
	'error: multiple dylib candidates for `std` found'

See https://github.com/jmesmon/meta-rust/issues/6 for some details.

May also be related to rust-lang#20342.
@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 2d0cb31

Thanks!

@bors
Copy link
Collaborator

bors commented Aug 27, 2015

⌛ Testing commit 2d0cb31 with merge 0d5142f...

bors added a commit that referenced this pull request Aug 27, 2015
This fixes the case where we try to re-build & re-install rust to the
same prefix (without uninstalling) while using an llvm-root that is the
same as the prefix.

Without this, builds like that fail with:
	'error: multiple dylib candidates for `std` found'

See https://github.com/jmesmon/meta-rust/issues/6 for some details.

May also be related to #20342.
@bors bors merged commit 2d0cb31 into rust-lang:master Aug 27, 2015
@codyps codyps deleted the llvm-path-native-only branch August 27, 2015 15:26
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 this pull request may close these issues.

4 participants