Avoid double slashes in paths created by pkg-config
If in a .pc variable a path is created from another variable, such as exec_prefix=${prefix}/lib, prefix must not contain an appended slash to avoid double slashes in the generated path.
Edited by Ralf Habacker