]> git.pld-linux.org Git - packages/python-mysql-connector.git/blob - 32bit.patch
- up to 8.0.12
[packages/python-mysql-connector.git] / 32bit.patch
1 --- mysql-connector-python-2.1.3/lib/cpy_distutils.py~
2 +++ mysql-connector-python-2.1.3/lib/cpy_distutils.py
3 @@ -131,7 +131,7 @@ def unix_lib_is64bit(lib_file):
4      stdout = prc.communicate()[0]
5      stdout = stdout.split(':')[1]
6      log.debug("# lib_file {0} stdout: {1}".format(lib_file, stdout))
7 -    if 'x86_64' in stdout or 'x86-64' in stdout or '32-bit' not in stdout:
8 +    if 'x86_64' in stdout or 'x86-64' in stdout and '32-bit' not in stdout:
9          return True
10  
11      return False
12 @@ -213,7 +213,7 @@
13                  "be executed: {0}".format(str(exc)))
14  
15          if stdout:
16 -            if '64' in stdout:
17 +            if '64' in stdout and not '32-bit' in stdout:
18                  info['arch'] = "x86_64"
19              else:
20                  info['arch'] = "i386"
This page took 0.085248 seconds and 3 git commands to generate.