#!/bin/bash
#
# If running Gizmo from a self contained directory, which is not in the
# LD runtime path, this script will pre-load its needed dependencies, and
# set the data directory accordingly.
#
CURDIR=`dirname "$0"`

export LD_PRELOAD=$CURDIR/libsipphoneapi.so.1.7.08.70
$CURDIR/gizmo --datadir=$CURDIR/ ${1+"$@"}

