Skip to content

Tool does not follow symlinksΒ #408

Open
@chrisburnor

Description

@chrisburnor

with_features in Tool uses the name of the path to determine compiler family in https://github.com/alexcrichton/cc-rs/blob/master/src/lib.rs#L2113

It appears that for modern Macs running Mojave (10.14+), c++ is symlinked to clang++ but cc doesn't follow the symlink and treats it as a gnu compiler.

Current workaround is to manually set CXX=$(which clang++) but the right solution should look at the output of 'c++ -v` instead of the path name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions