diff --git a/Makefile b/Makefile index c2879ebb..8dda65a4 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ TEMPDIR=/tmp ifneq ($(BUILD_CLIENT),0) # set PKG_CONFIG_PATH to influence this, e.g. # PKG_CONFIG_PATH=/opt/cross/i386-mingw32msvc/lib/pkgconfig - ifeq ($(shell which pkg-config &> /dev/null; echo $$?),0) + ifeq ($(shell which pkg-config > /dev/null; echo $$?),0) CURL_CFLAGS=$(shell pkg-config --silence-errors --cflags libcurl) CURL_LIBS=$(shell pkg-config --silence-errors --libs libcurl) OPENAL_CFLAGS=$(shell pkg-config --silence-errors --cflags openal) @@ -192,7 +192,7 @@ ifneq ($(BUILD_CLIENT),0) endif # Use sdl-config if all else fails ifeq ($(SDL_CFLAGS),) - ifeq ($(shell which sdl-config &> /dev/null; echo $$?),0) + ifeq ($(shell which sdl-config > /dev/null; echo $$?),0) SDL_CFLAGS=$(shell sdl-config --cflags) SDL_LIBS=$(shell sdl-config --libs) endif