summaryrefslogtreecommitdiffstats
path: root/src/db-2-install-exe.patch
blob: 57d26f0790fa734712c95877d1fe02916d1ad3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This file is part of MXE. See LICENSE.md for licensing information.

From 67a1bbc57a368efd2ebb81f771ef7ba794bac5a0 Mon Sep 17 00:00:00 2001
From: Boris Nagaev <bnagaev@gmail.com>
Date: Wed, 2 Sep 2015 20:18:30 +0300
Subject: [PATCH] install executables with .exe

---
 dist/Makefile.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dist/Makefile.in b/dist/Makefile.in
index 8358e53..8839ea6 100644
--- a/dist/Makefile.in
+++ b/dist/Makefile.in
@@ -1150,8 +1150,7 @@ install_utilities:
 	    ($(MKDIR) -p $(DESTDIR)$(bindir) && \
 	    $(CHMOD) $(dmode) $(DESTDIR)$(bindir))
 	@for i in $(UTIL_PROGS); do \
-		test -f $$i.exe && i=$$i.exe; \
-		e=`echo $$i | $(SED) '$(transform)'`; \
+		e=$$i.exe; \
 		$(RM) $(DESTDIR)$(bindir)/$$e; \
 		$(INSTALLER) $$i $(DESTDIR)$(bindir)/$$e; \
 		$(STRIP) $(DESTDIR)$(bindir)/$$e; \
-- 
2.1.4