[Android] buildsystem: libvlc: define PKG_CONFIG_LIBDIR
Alexandre Janniaux
git at videolan.org
Fri Nov 6 10:25:03 CET 2020
vlc-android | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Sun Oct 25 14:55:03 2020 +0100| [b852786862e43a6c8a09f11ead260472a48be751] | committer: Nicolas Pomepuy
buildsystem: libvlc: define PKG_CONFIG_LIBDIR
Define PKG_CONFIG_LIBDIR to avoid use pkg-config files from the system.
It didn't happen before because we were using absolute path to the
contribs pkg-config files, so it's not actually fixing a current issue.
We keep PKG_CONFIG_PATH because we must use the same PKG_CONFIG_PATH as
the actual libvlc build, ie. not use anything outside of contribs
currently.
> https://code.videolan.org/videolan/vlc-android/commit/b852786862e43a6c8a09f11ead260472a48be751
---
buildsystem/compile-libvlc.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/buildsystem/compile-libvlc.sh b/buildsystem/compile-libvlc.sh
index c973cdbd1..2f87071fb 100755
--- a/buildsystem/compile-libvlc.sh
+++ b/buildsystem/compile-libvlc.sh
@@ -230,6 +230,7 @@ avlc_pkgconfig()
{
# Enforce pkg-config files coming from VLC contribs
PKG_CONFIG_PATH="$VLC_CONTRIB/lib/pkgconfig/" \
+ PKG_CONFIG_LIBDIR="$VLC_CONTRIB/lib/pkgconfig/" \
pkg-config "$@"
}
More information about the Android
mailing list