Projects STRLCPY reverse_ssh Commits b6228f09
🤬
  • Fix bug where windows cross compiling dlls would not work on darwin

  • Loading...
  • NHAS committed 1 year ago
    b6228f09
    1 parent 4be0ea3e
  • ■ ■ ■ ■
    internal/server/webserver/buildmanager.go
    skipped 168 lines
    169 169   if shared {
    170 170   
    171 171   var crossCompiler string
    172  - if runtime.GOOS == "linux" && f.Goos == "windows" && f.Goarch == "amd64" {
     172 + if (runtime.GOOS == "linux" || runtime.GOOS == "darwin") && f.Goos == "windows" && f.Goarch == "amd64" {
    173 173   crossCompiler = "x86_64-w64-mingw32-gcc"
    174 174   }
    175 175   
    skipped 187 lines
Please wait...
Page is in error, reload to recover