aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-09-25 11:13:32 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-09-27 00:27:38 +0530
commita0551d7d6ec3f7c6aa85edbcb00ae79f4a97865f (patch)
tree1dcaf852210cc61e31ed506f191f0c3e07b6747c /mesonbuild/mesonlib.py
parentc9a7422cc1389c1ec51df34d8f96b83aeaf8b509 (diff)
downloadmeson-a0551d7d6ec3f7c6aa85edbcb00ae79f4a97865f.zip
meson-a0551d7d6ec3f7c6aa85edbcb00ae79f4a97865f.tar.gz
meson-a0551d7d6ec3f7c6aa85edbcb00ae79f4a97865f.tar.bz2
dependencies/boost: Fix 32-bit vs 64-bit on Windows
Fixes https://github.com/mesonbuild/meson/issues/526 Also removes useless and incorrect mesonlib.is_32bit() function. We cannot trust that the architecture that Python is built for is the same as the one we're targetting.
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r--mesonbuild/mesonlib.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py
index 7294a54..abb5641 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -91,9 +91,6 @@ def is_windows():
platname = platform.system().lower()
return platname == 'windows' or 'mingw' in platname
-def is_32bit():
- return not(sys.maxsize > 2**32)
-
def is_debianlike():
return os.path.isfile('/etc/debian_version')