Merge pull request #8250 from sfc-gh-jshim/fix-python-fdb_c-lookup
Fix Python binding's fdb_c lookup
This commit is contained in:
commit
a5fd42990f
|
@ -1359,7 +1359,7 @@ else:
|
|||
except:
|
||||
# The system python on OS X can't find the library installed to /usr/local/lib if SIP is enabled
|
||||
# find_library does find the location in /usr/local/lib, so if the above fails fallback to using it
|
||||
lib_path = ctypes.util.find_library(capi_name)
|
||||
lib_path = ctypes.util.find_library("fdb_c")
|
||||
if lib_path is not None:
|
||||
try:
|
||||
_capi = ctypes.CDLL(lib_path)
|
||||
|
|
Loading…
Reference in New Issue