Support supplying nearly all dependent libraries via PKG_CONFIG_PATH
That was quite a rabbit hole.
I've also added a new test to check that this keeps working. As both issues are interwoven I've been bold and fixed it in one MR.
Close #1044 (closed) Close #1042 (closed)
Edited by Thomas Braun