Automatically use a separate builddir with Meson

Meson does not support builddir == srcdir, so there is no reason to
require developers to set "builddir" to true in their manifests, when we
can just do the right thing.
tingping/wmclass
Mathieu Bridon 2017-05-24 15:11:56 +02:00 committed by Alexander Larsson
parent 1775eab41c
commit 8b9df0ddcf
1 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ builder_module_build (BuilderModule *self,
}
var_require_builddir = strstr (configure_content, "buildapi-variable-require-builddir") != NULL;
use_builddir = var_require_builddir || self->builddir;
use_builddir = var_require_builddir || self->builddir || meson;
if (use_builddir)
{