17.08.2011 00:46, Julien Cristau wrote:

> Even with Requires.private you'll need the corresponding -dev packages
> in Depends, because pkg-config will look for them for --cflags, just not
> --libs.

You're right, it complains without libpixman-1-dev too, just as before.

It looks like it may be better to patch away pkg-config usage
in the dependent packages instead... ;)

So, what is the right way here, having in mind that - in this
particular example - pixman isn't used except of a an inter-
dependent library?  It looks like the upstream should switch
from

  Requires: $pkg

(or as my wrong attempt, Requires.private) to

  libs.private: $(pkg-config --libs $pkg)

with some way of handling -L options, right?  Is there some
good document outlining all this pkg-config "best practices"?

Thanks,

/mjt



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to