Permalink
Browse files

Merge pull request #3818 from lxbarth/master

BUG: fix platform detection for intel platforms
  • Loading branch information...
2 parents 24df94c + 72accd2 commit 02e85a520edbf79d5bf8390c4375a1795d0af9dd @rgommers rgommers committed Sep 28, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 numpy/distutils/system_info.py
@@ -1386,6 +1386,7 @@ def calc_info(self):
args = []
link_args = []
if get_platform()[-4:] == 'i386' or 'intel' in get_platform() or \
+ 'x86_64' in get_platform() or \
'i386' in platform.platform():
intel = 1
else:
@@ -1482,6 +1483,7 @@ def calc_info(self):
args = []
link_args = []
if get_platform()[-4:] == 'i386' or 'intel' in get_platform() or \
+ 'x86_64' in get_platform() or \
'i386' in platform.platform():
intel = 1
else:

0 comments on commit 02e85a5

Please sign in to comment.