10000 fix: add /usr/local/lib · tjosepo/deno_python@1e262be · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e262be

Browse files
committed
fix: add /usr/local/lib
1 parent f057fc6 commit 1e262be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/util.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function findlibs(): Promise<string[]> {
7979
libs.concat(await search(location));
8080
}
8181
} else {
82-
const paths = [];
82+
const paths = ["/usr/lib", "/lib", "/usr/local/lib"];
8383

8484
if (Deno.build.os === "darwin") {
8585
paths.push(
@@ -94,8 +94,6 @@ async function findlibs(): Promise<string[]> {
9494
libs.push(path);
9595
}
9696
}
97-
} else {
98-
paths.push("/usr/lib", "/lib");
9997
}
10098

10199
for (const path of paths) {

0 commit comments

Comments
 (0)
0