#!/bin/sh -e # json-glib is effectively dead (only translation work) so # this makes my life a little easier.. # This mess of CFLAGS, etc is needed to point json-glib to # the freshly built glib sources instead of the system's. # export PKG_CONFIG_PATH="$1/usr/lib/pkgconfig:$PKG_CONFIG_PATH" # export PATH="$1/usr/bin:$PATH" # export CFLAGS="$CFLAGS -I$1/usr/include/glib-2.0" # export CFLAGS="$CFLAGS -I$1/usr/lib/glib-2.0/include -pthread" # export LDFLAGS="$LDFLAGS -L$1/usr/lib/" meson \ -Ddocs=false \ -Dintrospection=true \ -Ddefault_library=both \ --prefix=$PREFIX \ . ../build