#! /bin/sh

# This file is used to start FreeLords! It is needed because
# the libraries created by FreeLords aren't in commonly used
# library paths.

export LD_LIBRARY_PATH=$PWD/common:$PWD/graphic:$LD_LIBRARY_PATH
 
if [ "$1" != "-l" ]; then
	exec ./freelords
fi

