Skip to content

Commit

Permalink
Fix (linking): Fix link paths in Whisper bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
maleyva1 committed Nov 25, 2023
1 parent 3e94550 commit d23eebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/whisper.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import utils
from macros import getProjectPath

when defined(mingw):
const dir = getProjectPath() & "/../whisper.cpp/winbuild"
const dir = getProjectPath() & "/../winbuild"
{.passl: "-lwhisper -L" & dir.}
else:
const dir = getProjectPath() & "/../whisper.cpp/build"
const dir = getProjectPath() & "/../build"
{.passl: "-lwhisper -L" & dir.}

const
Expand Down

0 comments on commit d23eebd

Please sign in to comment.