[ -z "$PREFIX" ] && PREFIX=/usr/gtk

# Add LDCONFIG path
LDCONF=/etc/ld.so.conf
grep -x "$PREFIX/lib" $LDCONF > /dev/null
if [ "$?" = "1" ]; then
   echo "Adding $PREFIX/lib to ldpath"
   echo "$PREFIX/lib" >> $LDCONF
fi

ldconfig || /sbin/ldconfig
 
