From 071118e4d27afb4759bc098c7c70d0bd041dc1f5 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Fri, 16 Jun 2017 15:24:24 +0300 Subject: [PATCH] js: wscript: use pkgconfig for mujs (recently added .pc and 1.0.0 tag) --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 4a7d15e92e..091e7f948e 100644 --- a/wscript +++ b/wscript @@ -292,7 +292,7 @@ iconv support use --disable-iconv.", }, { 'name' : '--javascript', 'desc' : 'Javascript (MuJS backend)', - 'func': check_statement('mujs.h', 'js_setreport(js_newstate(0, 0, 0), 0)', lib='mujs'), + 'func': check_pkg_config('mujs', '>= 1.0.0'), }, { 'name': '--libass', 'desc': 'SSA/ASS support',