summaryrefslogtreecommitdiffstats
path: root/utils/setools/patches/030-remove-host-paths.patch
blob: 359b242b836fc3b7c09eff71700947820ea04e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ from Cython.Build import cythonize
 
 
 # Library linkage
-lib_dirs: list[str] = ['.', '/usr/lib64', '/usr/lib', '/usr/local/lib']
+lib_dirs: list[str] = ['.', os.environ["STAGING_DIR"] + '/usr/lib']
 include_dirs: list[str] = []
 
 userspace_src = os.getenv("USERSPACE_SRC", "")