Use pkgconfig when available to determine LDLIBS

This fixes a compilation failure when fmap is installed as libfmap.so.

This patch was written by Felix Janda <felix.janda@posteo.de> and
submitted to chromium.org by David Hendricks <dhendrix@chromium.org>.

BUG=none
BRANCH=none
TEST=none

Change-Id: I3139335eb53787900573fcb81c4044e49d494328
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/373899
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
1 file changed