Skip to content

Commit

Permalink
fix: use absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Nov 28, 2024
1 parent 0591725 commit 2b1bb0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecsact/cli/commands/build/recipe/taste.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ static auto check_runtime_info(
ecsact::cli::report_info("HELP MEEEEEEEEEEEEEEEEEEEEE");
auto ec = std::error_code{};

auto cookie = AddDllDirectory(library_path.parent_path().c_str());
auto cookie =
AddDllDirectory(fs::absolute(library_path).parent_path().c_str());

auto runtime_lib = boost::dll::shared_library{
library_path.string(),
Expand Down

0 comments on commit 2b1bb0d

Please sign in to comment.