Index: makefile
===================================================================
--- makefile.orig
+++ makefile
@@ -38,7 +38,7 @@ MKDIR_P		=	mkdirhier
 
 ../plugins/%.so:	plugins/%.c ladspa.h
 	$(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c
-	$(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared
+	$(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared -lm
 
 ../plugins/%.so:	plugins/%.cpp ladspa.h
 	$(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp
