[Bug 793437] Add proper PKG_CONFIG_PATH for Debian multiarch
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 20 22:03:59 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793437
--- Comment #4 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 368333:
--> (https://bugzilla.gnome.org/review?bug=793437&attachment=368333)
I would keep it in a way that make it works for Debian, but the code is a bit
of a spaghetti. Try a construction like this instead maybe ?
arch_path = None
if arch == Architecture.ARM:
arch_path = 'usr/lib/arm-linux-gnueabi/pkgconfig'
elif arch == Architecture.ARM64:
arch_path = 'usr/lib/aarch64-linux-gnueabi/pkgconfig'
elif Architecture.is_arm(arch):
arch_path = 'usr/lib/arm-linux-gnueabihf/pkgconfig'
else:
arch_path = 'usr/lib/%s-linux-gnu/pkgconfig' % arch
search_paths.append(os.path.join(sysroot, arch_path))
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list