Files
MINGW-packages/mingw-w64-python/0092-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
2023-12-07 08:12:51 +01:00

24 lines
808 B
Diff

From f379d09ce88f8eceffc06251544903a57f045fde 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 092/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 0bce861..bbb4765 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2320,6 +2320,7 @@ endif
# Install the dynamically loadable modules
# This goes into $(exec_prefix)
sharedinstall: all
+ MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
$(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \
--prefix=$(prefix) \
--install-scripts=$(BINDIR) \