#!/bin/sh

if [ -z $1 ]; then
  echo "Usage: $0 <application>"
  exit 0;
fi

# this is annoying, this should be recursively replaced
prefix=/usr
exec_prefix=${prefix}
LD_PRELOAD=$LD_PRELOAD:${exec_prefix}/lib/gst-tracelib/libgsttracelib.so "$@"

