Skip to content

Commit

Permalink
[Soup] Fix Compiler::makeStaticLibrary for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Dec 8, 2023
1 parent bf734d2 commit e005c80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sun/vendor/Soup/soup/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ namespace soup
{
std::vector<std::string> args = { "rc", out };
args.insert(args.end(), objects.begin(), objects.end());
#if !SOUP_MACOS
return os::executeLong(prog_ar, std::move(args));
#else
return os::execute(prog_ar, std::move(args));
#endif
}

const char* Compiler::getDynamicLibraryExtension() const
Expand Down

0 comments on commit e005c80

Please sign in to comment.