Using pkg-config helps to find libraries on systems where these libraries are installed in non-standard locations.