← Back to team overview

dolfin team mailing list archive

Re: [HG dolfin] Merge.

 

On Fri, Feb 09, 2007 at 03:29:06PM +0100, DOLFIN wrote:

> changeset:   2655:c709d3cff2e68a7ea0477211e819127358a81ef5
> parent:      2653:6a60885616d27cc0aa30464d79d6447379ca8a63
> user:        "Johan Jansson <jjan@xxxxxxxxxx>"
> date:        Fri Feb 09 15:28:13 2007 +0100
> 
> Re-added flag @EXTERNAL_CFLAGS@ to dolfin.pc.in, otherwise DOLFIN
> programs don't know what to include..

I think we should use Libs.private in dolfin.pc for this:

    Libs.private:
              This  line  should  list  any private libraries in use.
              Private
              libraries are libraries  which  are  not  exposed
              through  your
              library, but are needed in the case of static linking.

When linking dynamically, this should not be needed since dolfin.so
now knows it's dependencies. When linking statically, one needs to add
--static (in addition to --libs).

/Anders


References