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:
Junhyun Shim 2022-09-21 10:43:24 +02:00 committed by GitHub
commit a5fd42990f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)