Files
MINGW-packages/mingw-w64-python3.10/0106-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
2022-01-21 21:51:54 +05:30

29 lines
878 B
Diff

From d6a1a6cb232e37bba31c4ddbc7218fbec50b0ccc 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 106/N] Set MSYS2_ARG_CONV_EXCL for the shared Python module
install
Otherwise one has to set it when calling "make install".
Signed-off-by: Naveen M K <naveen521kk@gmail.com>
---
Makefile.pre.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.pre.in b/Makefile.pre.in
index c54015a..0c7149b 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1789,6 +1789,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.34.1