From 8a16c015b9d9d610da2db96890098278f08de064 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 16 Jan 2017 19:37:10 +0100 Subject: [PATCH] Added "sleep 10" before and after strip in the makefile, in order to wait for the retarded Windows file locking mechanism to unlock the executable. --- src/Makefile.mingw | 2 ++ src/Makefile.mingw64 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Makefile.mingw b/src/Makefile.mingw index 20e97c053..639c9012d 100644 --- a/src/Makefile.mingw +++ b/src/Makefile.mingw @@ -32,7 +32,9 @@ LIBS = -mwindows -lwinmm -lopenal.dll -lopenal -lddraw -ldinput8 -ldxguid -ld3d9 86Box.exe: $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) $(CC) $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) -o "86Box.exe" $(LIBS) + sleep 10 strip "86Box.exe" + sleep 10 all : 86Box.exe diff --git a/src/Makefile.mingw64 b/src/Makefile.mingw64 index e1d682087..c7814d533 100644 --- a/src/Makefile.mingw64 +++ b/src/Makefile.mingw64 @@ -32,7 +32,9 @@ LIBS = -mwindows -lwinmm -lopenal -lddraw -ldinput8 -ldxguid -ld3d9 -ld3dx9 -lws 86Box64.exe: $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) $(CC) $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) -o "86Box64.exe" $(LIBS) + sleep 10 strip "86Box64.exe" + sleep 10 all : 86Box64.exe