diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-11-09 18:50:53 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-11-10 01:40:14 +0530 |
commit | fca8905c34f1588a9e9aba5cb8b0e91dd2585131 (patch) | |
tree | ea3ab27e0c25137b4660d46d3a8b08b4197db05c /config | |
parent | 96ab6aac297dbf4838d61e4a12ac103ec53b5ace (diff) |
cerbero: Fix install prefix when no variant is specified on Windows
We were setting the default visualstudio variant too late, and the
prefix was being set to mingw_x86_64 in the case when no variant is
specified on Windows, even though Visual Studio is used for
compilation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1006>
Diffstat (limited to 'config')
-rw-r--r-- | config/windows.config | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/windows.config b/config/windows.config index 5ceb4510..645b49be 100644 --- a/config/windows.config +++ b/config/windows.config @@ -6,12 +6,6 @@ from cerbero.config import Architecture, Platform, Distro, FatalError from cerbero.utils import EnvValue, EnvValueArg, EnvValueCmd, EnvValuePath -# Use Visual Studio by default when building on Windows -if platform == Platform.WINDOWS: - variants.override('visualstudio') -else: - variants.override('mingw') - # Enable rust support by default only when building with MSVC # https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/381 if not variants.mingw and not variants.uwp: |