--- exports/Makefile.orig 2008-03-12 12:16:22.966541966 +0000 +++ exports/Makefile 2008-03-12 12:24:08.850292012 +0000 @@ -104,13 +104,13 @@ ../$(LIBSONAME) : ../$(LIBNAME) linux.def $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ - -Wl,--retain-symbols-file=linux.def $(PTHREADLIB) + -Wl,--retain-symbols-file=linux.def $(PTHREADLIB) -lm endif ifeq ($(OSNAME), FreeBSD) -so : ../$(LIBSONAME) test +so : ../$(LIBSONAME) ../$(LIBSONAME) : ../$(LIBNAME) linux.def $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \