summaryrefslogtreecommitdiff
path: root/dev-python/gst-python/gst-python-1.6.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/gst-python/gst-python-1.6.0.ebuild')
-rw-r--r--dev-python/gst-python/gst-python-1.6.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/gst-python/gst-python-1.6.0.ebuild b/dev-python/gst-python/gst-python-1.6.0.ebuild
index 53128bc120af..81d086d622ad 100644
--- a/dev-python/gst-python/gst-python-1.6.0.ebuild
+++ b/dev-python/gst-python/gst-python-1.6.0.ebuild
@@ -34,8 +34,14 @@ src_prepare() {
python_foreach_impl prepare_gst
}
+myeconf() {
+ local flag
+ flag="$(${PYTHON} -c 'import sysconfig; print(sysconfig.get_config_var("ABIFLAGS") or "")')"
+ PYTHON="${EPYTHON}${flag}" econf
+}
+
src_configure() {
- ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf
+ ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir myeconf
}
src_compile() {