#!/bin/bash set -eu set -o pipefail export PATH=/usr/local/c"$which_python"/bin:$PATH #echo 'pkg-config is at:' #which pkg-config #echo 'modversion of glib-2.0 from path-searched pkg-config is:' #pkg-config --modversion glib-2.0 #echo #echo "modversion of glib-2.0 from /usr/local/c$which_python/bin/pkg-config is:" #/usr/local/c"$which_python"/bin/pkg-config --modversion glib-2.0 #echo #echo "\$PKG_CONFIG_PATH is $PKG_CONFIG_PATH" #echo export CFLAGS="-I/usr/local/c$which_python/include" export LDFLAGS="-L/usr/local/c$which_python/lib -Wl,-rpath -Wl,/usr/local/c$which_python/lib" # Added Sat Jul 19 16:34:08 PDT 2014 for Mint 17 export ATK_CFLAGS="$CFLAGS" export ATK_LIBS="$LDFLAGS" # Pango appears to depend on a pkg-config directory that doesn't exist initially. So we set it up again. PKG_CONFIG_PATH="$(set -eu; build_pkg_config_path)" export PKG_CONFIG_PATH meson _build . --prefix /usr/local/c"$which_python" ninja -C _build