pkgconfig does not reflect DOLFIN_LIB_DIR or CMAKE_INSTALL_LIBDIR

Issue #1027 resolved
rambausek created an issue

[relevant for dolfin 2018.1] When CMAKE_INSTALL_LIBDIR is set to something different than ${FENICS_PREFIX}/lib then this leads to inconsistent (wrong) information in the dolfin.pc pkgconfig file. I suspect that this leads to wrong link flags for dijitso (that's why I found this).

This problem does not immediately pop up on Ubuntu since the default for CMAKE_INSTALL_LIBDIR is precisely ${FENICS_PREFIX}/lib. However, on Fedora for example CMAKE_INSTALL_LIBDIR defaults to ${FENICS_PREFIX}/lib64.

I'll try to craft a small pull request in the days to come.

Comments (1)

  1. Log in to comment