Skip to content

Commit

Permalink
Fix windows staging tool build
Browse files Browse the repository at this point in the history
  • Loading branch information
CromFr committed Nov 4, 2023
1 parent b88079c commit 8612197
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stagingtool/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ all:

mingw-x86_64:
x86_64-w64-mingw32-gcc $(CFLAGS) -O2 -Wall -D_7ZIP_ST -c lzma/Alloc.c lzma/LzFind.c lzma/LzmaDec.c lzma/LzmaEnc.c lzma/7zFile.c lzma/7zStream.c lzma/Util/Lzma/LzmaUtil.c
x86_64-w64-mingw32-ld $(LDFLAGS) -r Alloc.o LzFind.o LzmaDec.o LzmaEnc.o 7zFile.o 7zStream.o LzmaUtil.o -o lzma.obj
x86_64-w64-mingw32-ld $(LDFLAGS) -o lzma.obj -r Alloc.o LzFind.o LzmaDec.o LzmaEnc.o 7zFile.o 7zStream.o LzmaUtil.o
x86_64-w64-mingw32-strip --keep-symbol=main2 lzma.obj
rm *.o

0 comments on commit 8612197

Please sign in to comment.