fix: mingw-w64 compile on windows
added ldscript from metamod-p, so mingw-compiled binaries will load by vanilla hl engine (without metamod) without crashes
This commit is contained in:
parent
073e69f587
commit
d6d3af5b02
3 changed files with 208 additions and 1 deletions
|
|
@ -219,6 +219,8 @@ elif win32 and (clang or gcc)
|
|||
if clang
|
||||
ldflags += '-Wl,/MACHINE:X86'
|
||||
ccflags += '-Wl,/MACHINE:X86'
|
||||
else
|
||||
ldflags += ['-Xlinker', '--script', '-Xlinker', '../i386pe.lds']
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue