The idef-parser is a native build tool that requires glib-2.0 on the build machine. In emscripten cross builds, emconfigure sets PKG_CONFIG_LIBDIR to emscripten's sysroot which prevents native pkg-config from finding system-installed packages. Disable idef-parser by default for emscripten since the wasm target does not need it. Reviewed-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>