--- makefile.machine.orig 2005-04-15 18:31:10.000000000 +0200 +++ makefile.machine 2005-04-15 18:12:26.000000000 +0200 @@ -11,6 +11,6 @@ CC=gcc $(ALLFLAGS) LINK_SHARED=-shared -LOCAL_LIBS=-lpthread +LOCAL_LIBS=-lpthread -static LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl