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

rustc: use -Xlinker when specifying an rpath with ',' in it #38798

Merged
merged 1 commit into from
Jan 8, 2017

Commits on Jan 3, 2017

  1. rustc: use -Xlinker when specifying an rpath with ',' in it

    The `-Wl` option splits its parameters on commas, so if rustc specifies
    `-Wl,-rpath,<path>` when `<path>` contains commas, the path gets split up
    and the linker gets a partial path and spurious extra parameters.
    
    Gcc/clang support the more verbose `-Xlinker` option to pass options
    to the linker directly, so use it for comma-containing paths.
    
    Fixes rust issue rust-lang#38795.
    jsgf committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    a8fa2cf View commit details
    Browse the repository at this point in the history