summaryrefslogtreecommitdiff
path: root/dev-python/gst-python/gst-python-1.6.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/gst-python/gst-python-1.6.1.ebuild')
-rw-r--r--dev-python/gst-python/gst-python-1.6.1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/gst-python/gst-python-1.6.1.ebuild b/dev-python/gst-python/gst-python-1.6.1.ebuild
index d4659611ea70..95d223e2ed34 100644
--- a/dev-python/gst-python/gst-python-1.6.1.ebuild
+++ b/dev-python/gst-python/gst-python-1.6.1.ebuild
@@ -35,8 +35,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() {