Skip to content

Commit

Permalink
Merge pull request #128 from skyracer2012/cross-compile
Browse files Browse the repository at this point in the history
Cross Compilation from Linux to Windows via mingw
  • Loading branch information
m417z authored Mar 30, 2024
2 parents 951d13c + 86ddb1b commit 1cc4610
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/MinGW/make.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
x86_64-w64-mingw32-windres -i ../../dll_resources/MinHook.rc -o MinHook_rc.o &&
x86_64-w64-mingw32-dllwrap -o MinHook.dll -masm=intel --def ../../dll_resources/MinHook.def -Wl,-enable-stdcall-fixup -Wall MinHook_rc.o ../../src/*.c ../../src/hde/*.c -I../../include -I../../src -Werror -s -static-libgcc -static-libstdc++

0 comments on commit 1cc4610

Please # to comment.