quakeforge/tools/cross/droid/arm-linux-androideabi-pkg-config
Bill Currie d2a6da6c24 Set PKG_CONFIG_PATH to something reasonable.
Now libsamplerate can be detected.
2012-02-05 18:46:12 +09:00

16 lines
552 B
Bash
Executable file

#!/bin/bash
# This file has no copyright assigned and is placed in the Public Domain.
# No warranty is given.
# When using the android cross compiler tools, the native Linux
# pkg-config executable works fine as long as the default PKG_CONFIG_LIBDIR
# is overridden.
export PKG_CONFIG_LIBDIR=$ANDROID_SYSROOT
# Also want to override the standard user defined PKG_CONFIG_PATH with
# a android specific one.
export PKG_CONFIG_PATH=$ANDROID_SYSROOT/usr/local/lib/pkgconfig
# Now just execute pkg-config with the given command line args.
pkg-config $@