#!/bin/bash set -eu set -o pipefail # shellcheck disable=SC2154 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" # ./configure --prefix=/usr/local/c"$which_python" --enable-introspection # make mkdir build \ && cd build \ && meson --prefix=/usr/local/c"$which_python" --sysconfdir=/usr/local/c"$which_python"/etc .. \ && ninja