Skip to content

Commit 081a768

Browse files
committed
Fix location of the capi.
1 parent 6d1f180 commit 081a768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ def _get_stdlib_home():
158158
return os.path.join(SUITE.dir, "graalpython", "lib-python", "3")
159159

160160

161-
def _get_capi_home():
162-
return mx.distribution("GRAALPYTHON_NATIVE_LIBS").get_output()
161+
def _get_capi_home(args=None):
162+
return os.path.join(mx.distribution("GRAALPYTHON_NATIVE_LIBS").get_output(), mx.get_os(), mx.get_arch())
163163

164164

165165
_get_jni_home = _get_capi_home

0 commit comments

Comments
 (0)