summaryrefslogtreecommitdiffstats
path: root/src/db-2-install-exe.patch
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2015-09-02 17:20:59 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-03 13:45:11 (GMT)
commitdd1ade76c0a417d8248985148891f2d864f11459 (patch)
treea57911a825d03a96821705140f9ee32e2bee9dd8 /src/db-2-install-exe.patch
parent61febce3226a92ab441a3a8ffa2e40b16a34d67c (diff)
downloadmxe-dd1ade76c0a417d8248985148891f2d864f11459.zip
mxe-dd1ade76c0a417d8248985148891f2d864f11459.tar.gz
mxe-dd1ade76c0a417d8248985148891f2d864f11459.tar.bz2
db: enable shared build
Diffstat (limited to 'src/db-2-install-exe.patch')
-rw-r--r--src/db-2-install-exe.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/db-2-install-exe.patch b/src/db-2-install-exe.patch
new file mode 100644
index 0000000..5eaf820
--- /dev/null
+++ b/src/db-2-install-exe.patch
@@ -0,0 +1,29 @@
+This file is part of MXE.
+See index.html for further 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
+