Files
MINGW-packages/mingw-w64-python/0106-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
2022-06-10 17:54:24 +02:00

27 lines
827 B
Diff

From fe53600f11b45b3cba204bd5a154a5b90c903bb0 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".
---
Makefile.pre.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.pre.in b/Makefile.pre.in
index b71c4cc..3b623ba 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1788,6 +1788,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.36.1