Skip to content

Commit

Permalink
Fixed implementation of VariableDeclarationExpression::loadNativeFunc…
Browse files Browse the repository at this point in the history
…tion() for Windows target.
  • Loading branch information
nthnn committed Dec 13, 2024
1 parent 260bb64 commit 7faaa5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/n8/ast/expression/VariableDeclarationExpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ NativeFunction VariableDeclarationExpression::loadNativeFunction(
else {
#if defined(_WIN32) || defined(_WIN64) || defined(WIN32) || defined(WIN64)

std::filesystem::path libPath(library);
std::filesystem::path path(library);
std::cout << "Loading DLLs from: " << path.parent_path().string() << std::endl;

AddDllDirectory(path.parent_path().wstring().c_str());
Expand Down

0 comments on commit 7faaa5d

Please sign in to comment.