js: wscript: use pkgconfig for mujs (recently added .pc and 1.0.0 tag)

This commit is contained in:
Avi Halachmi (:avih) 2017-06-16 15:24:24 +03:00
parent fa929eb0d0
commit 071118e4d2
1 changed files with 1 additions and 1 deletions

View File

@ -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',