* add libb2 as dep * remove "-Wl,--large-address-aware", default now via makepkg * remove 2to3 logic, no longer in Python
28 lines
912 B
Diff
28 lines
912 B
Diff
From 060d32515f0397a1836c0acef7ffca77ed0d2f1b Mon Sep 17 00:00:00 2001
|
|
From: Naveen M K <naveen521kk@gmail.com>
|
|
Date: Sun, 18 Jun 2023 14:29:50 +0530
|
|
Subject: [PATCH 076/N] correctly find native python
|
|
|
|
it's required for regen-modules
|
|
---
|
|
configure.ac | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 1bc047d..bc9a610 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -204,9 +204,11 @@ AC_SUBST([FREEZE_MODULE])
|
|
AC_SUBST([FREEZE_MODULE_DEPS])
|
|
AC_SUBST([PYTHON_FOR_BUILD_DEPS])
|
|
|
|
+NATIVE_PYTHON_SEARCH_PATH_MINGW=`echo $host | grep -Eq 'mingw*' && echo "$MINGW_PREFIX/bin" || echo $PATH`
|
|
AC_CHECK_PROGS([PYTHON_FOR_REGEN],
|
|
[python$PACKAGE_VERSION python3.13 python3.12 python3.11 python3.10 python3 python],
|
|
- [python3])
|
|
+ [python3],
|
|
+ [$NATIVE_PYTHON_SEARCH_PATH_MINGW])
|
|
AC_SUBST([PYTHON_FOR_REGEN])
|
|
|
|
AC_MSG_CHECKING([Python for regen version])
|