We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02077f commit efdbca7Copy full SHA for efdbca7
objectbox/c.py
@@ -41,7 +41,8 @@ def shlib_name(library: str) -> str:
41
42
# initialize the C library
43
lib_path = os.path.dirname(os.path.realpath(__file__))
44
-lib_path = os.path.join(lib_path, 'lib', platform.machine(), shlib_name('objectbox'))
+lib_path = os.path.join(lib_path, 'lib', \
45
+ platform.machine() if platform.system() != 'Darwin' else 'macos-universal', shlib_name('objectbox'))
46
C = ctypes.CDLL(lib_path)
47
48
# load the core library version
0 commit comments