[Android] Fix compilation on some systems where pkg-config defaults to system path
Jean-Baptiste Kempf
git at videolan.org
Mon Aug 8 15:39:18 CEST 2016
vlc-android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug 8 15:38:16 2016 +0200| [dc4a26b3e3c5ce55111c1eb0487ba569c795fab5] | committer: Jean-Baptiste Kempf
Fix compilation on some systems where pkg-config defaults to system path
> https://code.videolan.org/videolan/vlc-android/commit/dc4a26b3e3c5ce55111c1eb0487ba569c795fab5
---
compile-libvlc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 63197fd..592f6bc 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -635,7 +635,7 @@ VLC_MODULES=$(find_modules ${REDEFINED_VLC_MODULES_DIR})
VLC_SRC_DIR="$SRC_DIR/vlc"
ANDROID_SYS_HEADERS="$SRC_DIR/android-headers"
VLC_CONTRIB="$VLC_SRC_DIR/contrib/$TARGET_TUPLE"
-VLC_CONTRIB_LDFLAGS=`for i in $(/bin/ls $VLC_CONTRIB/lib/pkgconfig/*.pc); do pkg-config --libs $i; done |xargs`
+VLC_CONTRIB_LDFLAGS=`for i in $(/bin/ls $VLC_CONTRIB/lib/pkgconfig/*.pc); do PKG_CONFIG_PATH="$VLC_CONTRIB/lib/pkgconfig/" pkg-config --libs $i; done |xargs`
if [ "${CHROME_OS}" != "1" ];then
if [ "${HAVE_64}" != 1 ];then
More information about the Android
mailing list