mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
gst-env: Also look for builddir
when hunting for a build dir
This commit is contained in:
parent
3e1c57553e
commit
478836e85b
1 changed files with 3 additions and 1 deletions
|
@ -27,10 +27,12 @@ from scripts.common import get_wine_shortpath
|
|||
|
||||
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__))
|
||||
PREFIX_DIR = os.path.join(SCRIPTDIR, 'prefix')
|
||||
# Use '_build' as the builddir instead of 'build'
|
||||
# Look for the following build dirs: `build` `_build` `builddir`
|
||||
DEFAULT_BUILDDIR = os.path.join(SCRIPTDIR, 'build')
|
||||
if not os.path.exists(DEFAULT_BUILDDIR):
|
||||
DEFAULT_BUILDDIR = os.path.join(SCRIPTDIR, '_build')
|
||||
if not os.path.exists(DEFAULT_BUILDDIR):
|
||||
DEFAULT_BUILDDIR = os.path.join(SCRIPTDIR, 'builddir')
|
||||
|
||||
TYPELIB_REG = re.compile(r'.*\.typelib$')
|
||||
SHAREDLIB_REG = re.compile(r'\.so|\.dylib|\.dll')
|
||||
|
|
Loading…
Reference in a new issue