aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-06-06 17:22:17 +0200
committerGuenter Knauf <lists@gknw.net>2012-06-06 17:22:17 +0200
commiteef4b3fcfc89b411002fd05d047450aa72347448 (patch)
treeac7db2028a7e9a94f3970b81dff940711fc7bd79
parentaaa1e7f9d4dca25e905e1f25448911bc28128418 (diff)
Added hint for pkg-config wrapper script.
-rw-r--r--docs/INSTALL14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index f14552623..00d06e9c7 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -868,6 +868,20 @@ Android
found in your automake folder:
find /usr -name config.sub
+ Wrapper for pkg-config
+ - In order to make proper use of pkg-config so that configure is able to
+ find all dependencies you should create a wrapper script for pkg-config;
+ file /opt/arm-linux-androideabi-4.4.3/bin/arm-linux-androideabi-pkg-config:
+
+ #!/bin/sh
+ SYSROOT=$(dirname ${0%/*})/sysroot
+ export PKG_CONFIG_DIR=
+ export PKG_CONFIG_LIBDIR=${SYSROOT}/usr/local/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig
+ export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}
+ exec pkg-config "$@"
+
+ also create a copy or symlink with name arm-unknown-linux-androideabi-pkg-config.
+
CROSS COMPILE
=============