Skip to content

Commit

Permalink
fix: fix linux arm64 load path (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
qingzhuozhen authored Nov 21, 2022
1 parent 4586a18 commit a6b3de0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ def getplatformpaths(self, libname):
# may not load
yield i
if platform.machine().startswith('arm'):
yield os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), f"./lib/linuxX64/{libname}.so"))
yield os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), f"./lib/linuxArm64/{libname}.so"))
else:
yield os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), f"./lib/linuxX64/{libname}.so"))

Expand Down

0 comments on commit a6b3de0

Please sign in to comment.