Description: add soname to linker call in Makefile
 Upstream Makefile does not build a shared object with soname or version
 number. This patch adds support for sonames, as well a symlink from
 the .so to the .so.X file.
Author: Sascha Steinbiss <steinbiss@zbh.uni-hamburg.de>
--- a/Makefile
+++ b/Makefile
@@ -191,7 +191,7 @@
 # add necessary shared lib dependencies then not building them ourselves
 ifeq ($(useshared),yes)
   DEPLIBS:=-lbz2 -lz -lexpat -llua5.1-lpeg -llua5.1 -llua5.1-md5 \
-           -llua5.1-filesystem -llua5.1-des56 -lbam
+           -llua5.1-filesystem -llua5.1-des56 -lbam -ltre
 else
   DEPLIBS:=
 endif
