-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
installer: switch to using edit-git-bash.exe
... instead of edit-git-bash.dll. Previously, we required the .dll and let InnoSetup open it directly. This required the .dll to be 32-bit because InnoSetup is 32-bit. Cross-compiling was a hassle, though, and it would probably eventually be a good idea anyway to ship mingw-w64-git with the utility that lets you edit the command-line to launch for git-bash.exe. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information
Showing
4 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
*.swp | ||
edit-git-bash.dll | ||
edit-git-bash.exe | ||
/cached-source-packages/ | ||
/download-stats.ids | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
CFLAGS=-O2 -Wall | ||
DLLINKFLAGS=-Wl,--kill-at -static-libgcc -shared | ||
|
||
all: edit-git-bash.dll | ||
|
||
# InnoSetup always uses the DLL target, and it must always be 32-bit | ||
# because InnoSetup is only 32-bit aware. | ||
edit-git-bash.dll: edit-git-bash.c | ||
PATH=/mingw32/bin:$$PATH \ | ||
i686-w64-mingw32-gcc -march=i686 $(CFLAGS) $(DLLINKFLAGS) -o $@ $^ | ||
all: edit-git-bash.exe | ||
|
||
edit-git-bash.exe: edit-git-bash.c | ||
gcc -DSTANDALONE_EXE $(CFLAGS) -o $@ $^ | ||
gcc -DSTANDALONE_EXE $(CFLAGS) -o $@ $^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters