Skip to content

Commit

Permalink
fixed python linking issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbo committed Jan 2, 2024
1 parent 38446fc commit 11b21a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bindings/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ def readme():
f.close()
return content

def search_installed_libmem():
return True

def platform_libs():
libs = []
if platform == "win32":
Expand All @@ -21,6 +24,10 @@ def platform_libs():
libs.append("dl")
elif platform.find("bsd") != -1:
libs.extend(["dl", "kvm", "procstat", "elf"])

if search_installed_libmem():
libs.append("libmem")

return libs

def get_sources(src_dir):
Expand Down

0 comments on commit 11b21a7

Please sign in to comment.