config.mk cleanup pkg-config error message

pkg-config already prints which package is missing so we don't need to
repeat a list of packages
This commit is contained in:
Sascha Kruse 2013-01-21 15:38:39 +01:00
parent 19c3957ee4
commit e54dbda01d

View File

@ -30,7 +30,7 @@ INCS = $(shell ${PKG_CONFIG} --cflags dbus-1 libxdg-basedir x11 freetype2 xext x
LIBS = -lm -L${X11LIB} -lXss ${XINERAMALIBS} $(shell ${PKG_CONFIG} --libs dbus-1 libxdg-basedir x11 freetype2 xext xft xscrnsaver)
ifeq (${INCS}, ${EMPTY})
$(error Failed to find one ore move required dependencies: dbus-1 libxdg-basedir x11 freetype2 xext xft xscrnsaver)
$(error "pkg-config failed, see errors above")
endif
# flags