Bugfix: Correctly redirect output when checking for pkg-config

This commit is contained in:
Michael Stapelberg 2009-05-02 21:03:54 +02:00
parent b1b3ab371c
commit 5a1eaba4d3
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ CFLAGS += -DI3_VERSION=\"${GIT_VERSION}\"
# Check if pkg-config is installed, because without pkg-config, the following
# check for the version of libxcb cannot be done.
ifeq ($(shell which pkg-config 2>&- 1>2 || echo 1),1)
ifeq ($(shell which pkg-config 2>/dev/null 1>/dev/null || echo 1),1)
$(error "pkg-config was not found")
endif