Skip to content

Commit

Permalink
updated setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbo committed Jan 3, 2024
1 parent eb4487e commit 561afd5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bindings/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ def readme():

def search_installed_libmem():
libmem_libs = ["liblibmem.so", "liblibmem.a", "libmem.lib", "libmem.dll"]
lib_dirs = [sysconfig.get_config_var("LIBDIR")]
lib_dirs = []

var_libdir = sysconfig.get_config_var("LIBDIR")
if var_libdir != None:
lib_dirs.append(var_libdir)

print(f"Library dirs: {lib_dirs}")

Expand Down

0 comments on commit 561afd5

Please sign in to comment.