Skip to content
Snippets Groups Projects
Forked from Core Modules / dune-common
Source project has a limited visibility.
  • Markus Blatt's avatar
    61315333
    Order matters when providing libs. All symbols used by a library must · 61315333
    Markus Blatt authored
    have been already seen by the linker. As DUNE_LIBS (e.g. dune-grid)
    use symbols from other libraries already in ALL_PKG_LIBS (e.g. those of the
    alugrid library), they should be appended to them.
    
    On the other hand libtool removes duplicate libraries provided when
    linking from, such that only the first occurence persits. Resulting
    e.g. in libalugrid coming after libgrid.
    
    This never caused problems because libtool added dependencies known to
    it from the .la file automatically. But it does when using dune core
    packages built with cmake (these lack .la files).
    
    All tests of the core module pass (except one in virtual
    refinement). Additionally dune-grid-howto build with ug and alugrid enabled.
    
    [[Imported from SVN: r6949]]
    61315333
    History
    Order matters when providing libs. All symbols used by a library must
    Markus Blatt authored
    have been already seen by the linker. As DUNE_LIBS (e.g. dune-grid)
    use symbols from other libraries already in ALL_PKG_LIBS (e.g. those of the
    alugrid library), they should be appended to them.
    
    On the other hand libtool removes duplicate libraries provided when
    linking from, such that only the first occurence persits. Resulting
    e.g. in libalugrid coming after libgrid.
    
    This never caused problems because libtool added dependencies known to
    it from the .la file automatically. But it does when using dune core
    packages built with cmake (these lack .la files).
    
    All tests of the core module pass (except one in virtual
    refinement). Additionally dune-grid-howto build with ug and alugrid enabled.
    
    [[Imported from SVN: r6949]]