crash.software
Projects
Pull Requests
Issues
Builds
reverse_ssh
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
reverse_ssh
Commits
b6228f09
🤬
Sign In
Fix bug where windows cross compiling dlls would not work on darwin
NHAS
committed
1 year ago
b6228f09
1 parent
4be0ea3e
Total 1 files
■
■
■ ■ ■ ■
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
All occurrences
Please wait...
Page is in error, reload to recover