remove build dependency on which

This commit is contained in:
joe miller 2020-08-14 17:07:30 -07:00 committed by GitHub
parent 13f3ef0a28
commit 27cac8ea5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
PKG_CONFIG=$(shell which pkg-config)
PKG_CONFIG=$(shell command -v pkg-config 2> /dev/null)
ifeq ($(PKG_CONFIG),)
$(error "Install pkg-config to make it work")
endif