mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-05 14:28:08 -07:00
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
26 lines
783 B
Diff
26 lines
783 B
Diff
From 36e77661b7a879f0ec1eb165c3b5cd0259eb8496 Mon Sep 17 00:00:00 2001
|
|
From: Lisandro Dalcin <dalcinl@gmail.com>
|
|
Date: Sat, 28 Sep 2019 18:10:52 +0300
|
|
Subject: [PATCH] setup: Minor fix for Python 3.8
|
|
|
|
---
|
|
setup.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 235b115..9c03c49 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -336,7 +336,7 @@ def configure_pyexe(exe, config_cmd):
|
|
libraries = []
|
|
library_dirs = []
|
|
link_args = []
|
|
- if not sysconfig.get_config_var('Py_ENABLE_SHARED'):
|
|
+ if pyver >= (3, 8) or not cfg_vars.get('Py_ENABLE_SHARED'):
|
|
py_version = sysconfig.get_python_version()
|
|
py_abiflags = getattr(sys, 'abiflags', '')
|
|
libraries = ['python' + py_version + py_abiflags]
|
|
--
|
|
2.10.5
|
|
|