summarylogtreecommitdiffstats
path: root/0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
diff options
context:
space:
mode:
authoratomlong2021-10-23 17:55:22 +0800
committeratomlong2021-10-23 18:06:15 +0800
commit80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch)
treeb48dd1e73de9ea35a4709fb6b93deb16331ec514 /0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
parent89a67c05174951d172252b1db96ff93cc4ec4bcd (diff)
downloadaur-mingw-w64-python.tar.gz
update to 3.9.7
Diffstat (limited to '0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch')
-rw-r--r--0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch b/0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
new file mode 100644
index 000000000000..928ad0a161be
--- /dev/null
+++ b/0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
@@ -0,0 +1,26 @@
+From be91fcc4aa3d4b31521a4eda1256470f5ea43760 Mon Sep 17 00:00:00 2001
+From: Christoph Reiter <reiter.christoph@gmail.com>
+Date: Sun, 25 Jul 2021 15:46:54 +0200
+Subject: [PATCH 108/N] Set MSYS2_ARG_CONV_EXCL for the shared Python module
+ install
+
+Otherwise one has to set it when calling "make install".
+---
+ Makefile.pre.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+index 2154bdf..7b8317a 100644
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -1736,6 +1736,7 @@ endif
+ # Install the dynamically loadable modules
+ # This goes into $(exec_prefix)
+ sharedinstall: sharedmods
++ MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
+ $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \
+ --prefix=$(prefix) \
+ --install-scripts=$(BINDIR) \
+--
+2.33.0
+