[vlc-commits] contrib: fix pkg-config setup for cross-compilation
Rémi Denis-Courmont
git at videolan.org
Sun Jul 3 13:38:19 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 3 14:36:45 2011 +0300| [1499f0a31d0fae452eef216b33c8c724b4e41cc5] | committer: Rémi Denis-Courmont
contrib: fix pkg-config setup for cross-compilation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1499f0a31d0fae452eef216b33c8c724b4e41cc5
---
contrib/src/main.mak | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 74da11f..2753cd9 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -101,8 +101,8 @@ PKG_CONFIG ?= pkg-config
ifdef HAVE_CROSS_COMPILE
# This inhibits .pc file from within the cross-compilation toolchain sysroot.
# Hopefully, nobody ever needs that.
-PKG_CONFIG_PATH :=
-PKG_CONFIG_LIBDIR := /dev/null
+PKG_CONFIG_PATH := /usr/share/pkgconfig
+PKG_CONFIG_LIBDIR := /usr/$(HOST)/lib/pkgconfig
export PKG_CONFIG_LIBDIR
endif
PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$(PREFIX)/lib/pkgconfig
More information about the vlc-commits
mailing list