diff options
-rw-r--r-- | src/db-2-install-exe.patch | 29 | ||||
-rw-r--r-- | src/db.mk | 2 |
2 files changed, 29 insertions, 2 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 + @@ -27,5 +27,3 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)/build_unix' -j '$(JOBS)' $(MAKE) -C '$(1)/build_unix' -j 1 install $(MXE_DISABLE_DOCS) endef - -$(PKG)_BUILD_SHARED = |