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

warning: redundant linker flag #166

Open
Boscop opened this issue Dec 5, 2017 · 2 comments
Open

warning: redundant linker flag #166

Boscop opened this issue Dec 5, 2017 · 2 comments

Comments

@Boscop
Copy link
Member

Boscop commented Dec 5, 2017

On Win 8.1, using a build script override for portaudio, I get this warning:

     Running `rustc --crate-name portaudio_sys rust-portaudio-sys\src\lib.rs --c
rate-type rlib --emit=dep-info,link -C debuginfo=2 -C metadata=3b728bd95cd452ea
-C extra-filename=-3b728bd95cd452ea --out-dir D:\projects\forks\rust-portaudio\t
arget\debug\deps -L dependency=D:\projects\forks\rust-portaudio\target\debug\dep
s -L D:\3rdparty\_rustlibs\64bit -l portaudio`
warning: redundant linker flag specified for library `portaudio`
@LinusU
Copy link

LinusU commented Jan 2, 2018

Getting this on macOS as well 🤔

@austin-millan
Copy link

Getting a similar warning on macOS:

warning: redundant linker flag specified for library `portaudio`

I thought maybe this was due to having a local portaudio installed while still specifying a portaudio crate in my Cargo.toml file, but when I uninstalled the other portaudio using Homebrew I'm still getting the same warning on each clean build using rustc.

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

No branches or pull requests

3 participants