[Android] buildsystem: libvlc: define PKG_CONFIG_LIBDIR

Alexandre Janniaux git at videolan.org
Fri Nov 13 07:31:03 CET 2020


vlc-android | branch: 3.3.x | Alexandre Janniaux <ajanni at videolabs.io> | Sun Oct 25 14:55:03 2020 +0100| [e212317514f51bf70b9b1dff8569127a41a36980] | 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.

(cherry picked from commit b852786862e43a6c8a09f11ead260472a48be751)

> https://code.videolan.org/videolan/vlc-android/commit/e212317514f51bf70b9b1dff8569127a41a36980
---

 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