diff options
Diffstat (limited to 'android-pkgconfig.sh')
-rw-r--r-- | android-pkgconfig.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/android-pkgconfig.sh b/android-pkgconfig.sh new file mode 100644 index 000000000000..5359b4cf43b9 --- /dev/null +++ b/android-pkgconfig.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# This file has no copyright assigned and is placed in the Public Domain. +# No warranty is given. + +export PKG_CONFIG_LIBDIR=/opt/android-libs/@TRIPLE@/lib/pkgconfig:/opt/android-libs/@TRIPLE@/share/pkgconfig + +# You can use PKG_CONFIG_PATH_CUSTOM to tweak pkg-config behavior further +export PKG_CONFIG_PATH=${PKG_CONFIG_PATH_CUSTOM}:${PKG_CONFIG_LIBDIR} + +# Now just execute pkg-config with the given command line args. +pkg-config $@ |