diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-10-17 20:07:04 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-06-30 19:42:43 +0300 |
commit | 4a371c97f422d0dc68fece2fe56d544ccd6558e9 (patch) | |
tree | a505a49b9f6ec5aae7daaef52487b2ea91fa57a7 /mesonbuild/wrap/wrap.py | |
parent | eb3b35ae024651743bc1e2b8e50566b6f53d95ae (diff) | |
download | meson-4a371c97f422d0dc68fece2fe56d544ccd6558e9.zip meson-4a371c97f422d0dc68fece2fe56d544ccd6558e9.tar.gz meson-4a371c97f422d0dc68fece2fe56d544ccd6558e9.tar.bz2 |
wrap: Apply patch even in VCS cases
Diffstat (limited to 'mesonbuild/wrap/wrap.py')
-rw-r--r-- | mesonbuild/wrap/wrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py index 5afbe8f..689fb4f 100644 --- a/mesonbuild/wrap/wrap.py +++ b/mesonbuild/wrap/wrap.py @@ -192,6 +192,7 @@ class Resolver: self.get_svn() else: raise WrapException('Unknown wrap type {!r}'.format(self.wrap.type)) + self.apply_patch() # A meson.build or CMakeLists.txt file is required in the directory if method == 'meson' and not os.path.exists(meson_file): @@ -251,7 +252,6 @@ class Resolver: os.mkdir(self.dirname) extract_dir = self.dirname shutil.unpack_archive(path, extract_dir) - self.apply_patch() def get_git(self) -> None: if not GIT: |