Account for lib64 used on x86_64 systems. Thanks to Alex Wood for supplying the
patch.
This commit is contained in:
parent
b1b4c403fb
commit
505018d577
3
setup.py
3
setup.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue