Skip to content

Commit

Permalink
fix(src/cli/cli.cc): link instead on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Oct 4, 2023
1 parent 323a2f5 commit 402d42d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cli/cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4876,10 +4876,6 @@ int main (const int argc, const char* argv[]) {
auto d = String(debugBuild ? "d" : "");
auto static_uv = prefixFile("lib" + d + "\\" + platform.arch + "-desktop\\libuv.lib");
auto static_runtime = trim(prefixFile("lib" + d + "\\" + platform.arch + "-desktop\\libsocket-runtime" + d + ".a"));
#elif defined(__linux__)
auto d = "";
auto static_uv = prefixFile("lib/" + platform.arch + "-desktop/libuv.a");
auto static_runtime = trim(prefixFile("lib/" + platform.arch + "-desktop/libsocket-runtime.a"));
#else
auto d = "";
auto static_uv = "";
Expand All @@ -4906,6 +4902,10 @@ int main (const int argc, const char* argv[]) {
#else
<< " " << flags
<< " " << extraFlags
#if defined(__linux__)
<< " -luv"
<< " -lsocket-runtime"
#endif
<< (" -L" + quote + trim(prefixFile("lib/" + platform.arch + "-desktop")) + quote)
#endif
<< " -fvisibility=hidden"
Expand Down

0 comments on commit 402d42d

Please sign in to comment.