Order matters when providing libs. All symbols used by a library must
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]]
Please register or sign in to comment