[petsc-users] .pc file does not include dependencies
Satish Balay
balay at mcs.anl.gov
Wed Nov 25 13:17:40 CST 2015
On Wed, 25 Nov 2015, Arne Morten Kvarving wrote:
> if I
> 1) move Libs.private below Libs in the .pc file
> 2) replace the absolute references to archive foo.a with -lfoo
>
> it works.
> this is with pkg-config 0.26 (ubuntu trusty).
Ok - I can reproduce this on ubuntu 12.04 with pkg-config 0.26
For one - the Libs.private are already below Libs in PETSc.pc
I'll check why libs are listed as libfoo.a instead of -lfoo in this file.
Satish
More information about the petsc-users
mailing list