[petsc-users] .pc file does not include dependencies
Barry Smith
bsmith at mcs.anl.gov
Wed Nov 25 12:34:52 CST 2015
It is very possible (make that extremely possible) that we are not generating the .pc correctly. We are not that familiar with pkg-config. If you could let us know what it should contain we can fix its generation to put in what is needed. Ideally you would send use two test make rules (one static one shared) so that as we try to fix the .pc file we have some confirmation that we have fixed it correctly.
Thanks for you help,
Barry
> On Nov 25, 2015, at 7:52 AM, Arne Morten Kvarving <arne.morten.kvarving at sintef.no> wrote:
>
> actually, it's proper behavior according to pkgconfig documentation. all options which do not start with -l or -L is stuck in the '--libs-only-other' output, and these will be first when it builds up the output string with --static --libs. so the proper fix is indeed for petsc to use -l and -L for those static dependencies i believe.
>
> sorry for the dupes matthew, reply-to-all-nub-error on my behalf..
>
>
More information about the petsc-users
mailing list