Especially with pkg-config, it needs to be called with the right path otherwise it might not pick up the prefix correctly. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1677 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3706>