summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-16 23:31:28 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-16 23:35:26 +0100
commite246ad6cb80c24815793f930ceba7ee946529c5c (patch)
tree14906f145a2ba12975b837c29faf46d22fe35614 /dev-lang/python/metadata.xml
parentx11-drivers/xf86-video-qxl: fix build with xorg 21 (diff)
downloadgentoo-e246ad6cb80c24815793f930ceba7ee946529c5c.tar.gz
gentoo-e246ad6cb80c24815793f930ceba7ee946529c5c.tar.bz2
gentoo-e246ad6cb80c24815793f930ceba7ee946529c5c.zip
dev-lang/python: Support linking against libedit
Python 3.10 introduced an explicit configure switch to control linking the readline extension against libedit vs. readline. Add IUSE=libedit to expose this support to users, as it may be useful for applications that link against libedit itself and embed Python (e.g. LLDB). Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/metadata.xml')
-rw-r--r--dev-lang/python/metadata.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/python/metadata.xml b/dev-lang/python/metadata.xml
index c72b41d56afb..54c2aa9734b5 100644
--- a/dev-lang/python/metadata.xml
+++ b/dev-lang/python/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="bluetooth">Build Bluetooth protocol support in socket module</flag>
+ <flag name="libedit">Link readline extension against <pkg>dev-libs/libedit</pkg> instead of <pkg>sys-libs/readline</pkg>.</flag>
<flag name="pgo">Optimize the build using Profile Guided Optimization (PGO)</flag>
<flag name="lto">Optimize the build using Link Time Optimization (LTO)</flag>
<flag name="wininst">Install Windows executables required to create an executable installer for MS Windows.</flag>