1#!/usr/bin/env bash 2 3SYSROOT=${HOME}/x-tools/armv6-rpi-linux-gnueabi/armv6-rpi-linux-gnueabi/sysroot 4 5export PKG_CONFIG_DIR= 6export PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig:${SYSROOT}/usr/share/pkgconfig/ 7export PKG_CONFIG_SYSROOT_DIR=${SYSROOT} 8 9export PKG_CONFIG_ALLOW_CROSS=1 10