Merged requested to merge bitbucket/merged-pr-351 into branch/default
Created originally on Bitbucket by jafd (Yaroslav Fedevych)
Was already merged in Bitbucket before import, marked as merged by the import user
OpenSSL no longer ships with the OS and in its SDK, so OpenSSL headers are not available system-wide. Added a workaround so they will be looked for where pkg-config tells to look.
Fixes: #2174 (closed)