72c732746d
A boilerplate .pc file is provided in the lib/pkgconfig directory. Using this location has the advantage of being in the same path relative to the libraries as it will be in the installation. The drawback is that the lib/ directory no longer contains just output unless one uses out-of-tree builds. In the root directory of the project a local .pc file is provided which instead of the usual end-installation directory rather points to the build and source directories. By adding the build directory to the PKG_CONFIG_PATH environment variable, a local build can be referred to from other projects (such as examples or specific test-cases). Having two different files is unfortunately necessary since pkgconfig does not support prefix rewriting on Linux, and having them in two different directories is necessary since the AutoMake-generated files is not capable of renaming a file, only relocating it. |
||
---|---|---|
.. | ||
opm-core.pc.in |