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

Don't append .lib suffix on MSVC builds #72

Merged
merged 1 commit into from
Aug 28, 2018

Conversation

sdroege
Copy link
Collaborator

@sdroege sdroege commented Aug 28, 2018

rustc already does that itself. As such, the only difference between
MSVC and other platforms is to skip a couple of libraries that are often
wrongly added by pkg-config.


This didn't cause problems for me in the past because of https://github.com/gtk-rs/sys/blob/cdc7f613c2ed1e4f021a2c83d6f51469edc03eb1/glib-sys/build.rs#L66 and similar code.

Also e.g. rust-lang/libz-sys@d520341 should IMHO be reverted (and there the workaround for macOS is going to cause problems too)

rustc already does that itself. As such, the only difference between
MSVC and other platforms is to skip a couple of libraries that are often
wrongly added by pkg-config.
@sdroege
Copy link
Collaborator Author

sdroege commented Aug 28, 2018

Confirmed to fix the servo build

@alexcrichton alexcrichton merged commit c350a0b into rust-lang:master Aug 28, 2018
@alexcrichton
Copy link
Member

👍

@sdroege
Copy link
Collaborator Author

sdroege commented Aug 28, 2018

Sorry for missing that last time! Would be a good time for a release again now :)

and then I'll also get rid of those workarounds in the gtk-rs -sys crates.

@alexcrichton
Copy link
Member

Sure thing, done now!

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.

2 participants