0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

build: print pkg-config query on failure

This commit is contained in:
Stefano Pigozzi 2015-02-21 20:22:28 +01:00
parent 076037531f
commit 0466ce2f98

View File

@ -103,6 +103,8 @@ def check_pkg_config(*args, **kw_ext):
if result:
ctx.define(defkey, 1)
else:
ctx.add_optional_message(dependency_identifier,
"'{0}' not found".format(" ".join(sargs)))
ctx.undefine(defkey)
return result
return fn