Skip to content

Commit

Permalink
Fix lib path
Browse files Browse the repository at this point in the history
  • Loading branch information
Leokuma committed Nov 1, 2023
1 parent b715340 commit 77ee30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcurl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const OPT_ID = 'u32';
/** https://curl.se/libcurl/c/allfuncs.html */
const libcurl = await dlopen({
url: {
darwin: '/lib/libcurl.4.dylib',
darwin: '/usr/lib/libcurl.4.dylib',
linux: {
x86_64: '/lib/x86_64-linux-gnu/libcurl.so.4',
x86_64: '/usr/lib/x86_64-linux-gnu/libcurl.so.4',
},
windows: {
x86_64: 'https://deno.land/x/decurl@0.7.0/lib/libcurl-x64.dll'
Expand Down

0 comments on commit 77ee30d

Please sign in to comment.