#!/bin/sh

if [ $# -ne 2 ]
then
  echo 'usage: pkg flags'
fi

pkgname="$1"
flags="$2"
pkg-config ${flags} ${pkgname} 2>/dev/null
exit $?
