From 183b862fe0bf89cb329706f29b6b421c73e20d3e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 19 Dec 2013 16:13:16 +0100 Subject: [PATCH] make the pkg-config error message more precise while the meaning of the error message is actually pretty obvious from the context, some people apparently expect an equivalence with their package manager's terminology. Change-Id: Ie7a31887bf5086e5d1d7de7e339a6d08571a4d01 Reviewed-by: Robin Burchell Reviewed-by: Joerg Bornemann --- mkspecs/features/link_pkgconfig.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/features/link_pkgconfig.prf b/mkspecs/features/link_pkgconfig.prf index 4e36b7c83c2..44d1a4c045f 100644 --- a/mkspecs/features/link_pkgconfig.prf +++ b/mkspecs/features/link_pkgconfig.prf @@ -7,7 +7,7 @@ for(ever) { libvar = LIBS$$pkgsfx for(PKGCONFIG_LIB, $$list($$unique($$pkgvar))) { # don't proceed if the .pro asks for a package we don't have! - !packagesExist($$PKGCONFIG_LIB):error("Package $$PKGCONFIG_LIB not found") + !packagesExist($$PKGCONFIG_LIB): error("$$PKGCONFIG_LIB development package not found") PKGCONFIG_CFLAGS = $$system($$PKG_CONFIG --cflags $$PKGCONFIG_LIB)