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:
13 "be executed: {0}".format(str(exc)))
17 + if '64' in stdout and not '32-bit' in stdout:
18 info['arch'] = "x86_64"