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

pkg-config .pc files: added .private versions of Libs and Required #667

Merged
merged 1 commit into from
Jan 14, 2018

Commits on Jan 13, 2018

  1. pkg-config .pc files: added .private versions of Libs and Required

    To prevent top-level linking of all libraries.
    
    Problem: ```pkg-config --libs toxcore``` returns all libraries that are
    required by all libtox*.so libraries. This is wrong because for a
    dynamically linked executable only top-level libraries need to be
    supplied. ```pkg-config --libs --static toxcore``` should return all
    libraries for the statically linked executable.
    
    For example, the ToxBot https://github.com/JFreegman/ToxBot executable
    uses pkg-config and is linked with the opus library, which is wrong.
    
    Based on TokTok#533.
    yurivict authored and iphydf committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    1e1efec View commit details
    Browse the repository at this point in the history