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

Resolve pkgconfig-depends dependencies #33

Open
nponeccop opened this issue Dec 26, 2014 · 2 comments
Open

Resolve pkgconfig-depends dependencies #33

nponeccop opened this issue Dec 26, 2014 · 2 comments

Comments

@nponeccop
Copy link

Some packages (e.g. hsmagick) specify dependencies using pkgconfig-depends: Cabal option.

With pkgfile the dependencies can be resoved using pkgfile /usr/lib/pkgconfig/$1.pc

pkgconfig-depends is a more robust way to specify dependencies as it specifies all compiler and linker options, e.g. an include path as well. So it's a good idea to encourage upstream .cabal developers to switch to pkgconfig-depends when applicable.

@magthe
Copy link
Contributor

magthe commented Dec 28, 2014

Related to #32.

@nponeccop
Copy link
Author

Yes, but there are 2 different fields in .cabal: extra-libraries and pkgconfig-depends. #32 is for extra-libraries, this one is for pkgconfig-depends.

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

2 participants