Account for lib64 used on x86_64 systems. Thanks to Alex Wood for supplying the

patch.
This commit is contained in:
Anthony Tuininga 2010-08-31 17:11:10 +00:00
parent b1b4c403fb
commit 505018d577
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ import distutils.core
import distutils.dist
import distutils.util
import os
import re
import struct
import sys
@ -179,7 +180,7 @@ else:
if os.path.isdir(path):
includeDirs.append(path)
if not includeDirs:
path = oracleHome.replace("lib", "include")
path = re.sub("lib(64)?", "include", oracleHome)
if os.path.isdir(path):
includeDirs.append(path)
if not includeDirs: