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

Many changes to libpng to avoid symbol collisions in the global namespace. #54

Merged
merged 5 commits into from Jan 12, 2015

Conversation

@glennw
Copy link
Member

glennw commented Jan 11, 2015

This changes how we build libpng. Instead of referencing the separate libpng repo, this adds png-sys as a subdirectory.

It uses build.rs for both png and png-sys, which is the preferred cargo method of building native dependencies.

It also updates libpng to the latest available version, which contains fixes for several security vulnerabilities.

Most importantly, it switches the FFI and native libs to prefix all symbols with RUST_ so that they don't conflict with symbols in other libraries, such as GTK.

@glennw
Copy link
Member Author

glennw commented Jan 11, 2015

@metajack

This comment has been minimized.

Copy link

metajack commented on 521b29d Jan 12, 2015

r+

metajack added a commit that referenced this pull request Jan 12, 2015
Many changes to libpng to avoid symbol collisions in the global namespace.
@metajack metajack merged commit 1c0f4ee into servo:master Jan 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.