Commit a4ab574c authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜 Look for both 'build' and '_build' for builddir

parent 7e0bedc1
......@@ -18,6 +18,10 @@ from common import get_meson
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__))
PREFIX_DIR = os.path.join(SCRIPTDIR, 'prefix')
# Use '_build' as the builddir instead of 'build'
DEFAULT_BUILDDIR = os.path.join(SCRIPTDIR, 'build')
if not os.path.exists(DEFAULT_BUILDDIR):
DEFAULT_BUILDDIR = os.path.join(SCRIPTDIR, '_build')
def listify(o):
......@@ -224,7 +228,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser(prog="gstreamer-uninstalled")
default=os.path.join(SCRIPTDIR, "build"),
help="The meson build directory")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment