summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-23 16:03:48 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-23 16:17:53 +0100
commit55ce26e454f41125fe4a1cccf90d2e0631ef3627 (patch)
tree1de9e85ea2438a4171cc5d8bdf7f130b9ff5c9af
parentf315c9330235921862e4e234029e79eb77d3354d (diff)
downloadmpv-55ce26e454f41125fe4a1cccf90d2e0631ef3627.tar.bz2
mpv-55ce26e454f41125fe4a1cccf90d2e0631ef3627.tar.xz
build: also run the test binary during the lua checks
-rw-r--r--waftools/checks/custom.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index 6d6268ead7..e8ea9275c8 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -57,8 +57,9 @@ def check_lua(ctx, dependency_identifier):
for lua_version, pkgconfig_query in lua_versions:
if compose_checks(
check_pkg_config(pkgconfig_query, uselib_store=lua_version),
- check_cc(fragment=fragment, use=[lua_version] + quvi_lib_storage))\
- (ctx, dependency_identifier):
+ check_cc(fragment=fragment,
+ use=[lua_version] + quvi_lib_storage,
+ execute=True))(ctx, dependency_identifier):
# XXX: this is a bit of a hack, ask waf developers if I can copy
# the uselib_store to 'lua'
ctx.mark_satisfied(lua_version)