[vlc-devel] [PATCH] configure: make sure PKG_CONFIG_PATH is empty when cross-compiling

Rafaël Carré funman at videolan.org
Wed Jan 25 05:47:34 CET 2012


avoid finding system libraries
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 72091af..08b9b43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -319,6 +319,7 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
   AS_IF([test "$build" = "$host" -o "$PKG_CONFIG_LIBDIR"], [
     export PKG_CONFIG_PATH="${CONTRIB_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH"
   ], [
+    export PKG_CONFIG_PATH=""
     export PKG_CONFIG_LIBDIR="${CONTRIB_DIR}/lib/pkgconfig"
   ])
   LDFLAGS="${LDFLAGS} -L${CONTRIB_DIR}/lib"
-- 
1.7.8.3



More information about the vlc-devel mailing list