diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-22 16:20:14 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-29 11:28:08 +0200 |
commit | 28175bbee2c111cf41b80c97bbadd7dbabaa8990 (patch) | |
tree | 5b1a65655cd6b4404fe6d9bc6aab3fa26dd2c6c7 /mesonbuild/mesonmain.py | |
parent | 7bc57d03a59f0148ea84210ea3b424697c32fe3b (diff) | |
download | meson-28175bbee2c111cf41b80c97bbadd7dbabaa8990.zip meson-28175bbee2c111cf41b80c97bbadd7dbabaa8990.tar.gz meson-28175bbee2c111cf41b80c97bbadd7dbabaa8990.tar.bz2 |
pathlib: Patch pathlib to work around some bugs (fixes #7295)
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r-- | mesonbuild/mesonmain.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index 4dd47e4..a3fd27d 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -12,7 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Work around some pathlib bugs... +from . import _pathlib import sys +sys.modules['pathlib'] = _pathlib + import os.path import importlib import traceback |