summarylogtreecommitdiffstats
path: root/0108-Set-MSYS2_ARG_CONV_EXCL-for-the-shared-Python-module.patch
blob: 928ad0a161be96d0bdb15108154225d14e41b34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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