Fixed platform selection error

This commit is contained in:
kevlened 2013-11-25 23:44:46 -05:00
parent d7bf5aa8a1
commit 445ee20643
1 changed files with 6 additions and 1 deletions

View File

@ -78,9 +78,14 @@ else:
raise Exception('Unable to determine JRE_HOME')
cpu = 'i386' if sys.maxint == 2147483647 else 'amd64'
if platform == 'win32':
incl_dir = join(jdk_home, 'include', 'win32')
else:
incl_dir = join(jdk_home, 'include', 'linux')
include_dirs = [
join(jdk_home, 'include'),
join(jdk_home, 'include', platform)]
incl_dir]
if platform == 'win32':
library_dirs = [
join(jdk_home, 'lib'),