]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer1.0-python: Set internal python library path correcty
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2021 12:05:14 +0000 (12:05 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 19 Mar 2021 08:03:25 +0000 (16:03 +0800)
The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c190e8c9a2b53de3def1065fb6e479b72d040dc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.3.bb

index 14b34a2808a09b1c290b561664f49d18f9189815..3eeb69d72c9d8a84b0d961fdda96311ac137793e 100644 (file)
@@ -16,6 +16,8 @@ PNREAL = "gst-python"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
+EXTRA_OEMESON += "-Dlibpython-dir=${libdir}"
+
 # gobject-introspection is mandatory and cannot be configured
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"