We need to handle better pkg-config output that references multiple libraries.
This bug was referenced in samba master: 363c33185779141fdfbda695997d548939a0251f 0c983bd0095d4fb20ef8b42f5efb740393073862 05807488fd340751ee976c5f8a367013ff94843e