Addressing Ubuntu bug 686312 reported as freeglut bug 3407093 -- adding '-lm' to...
[freeglut] / progs / demos / spaceball / Makefile.am
index e2a3ab4..13663fc 100644 (file)
@@ -2,5 +2,5 @@ EXTRA_DIST = spaceball.c vmath.c vmath.h vmath.inl
 noinst_PROGRAMS = spaceball
 spaceball_SOURCES = spaceball.c vmath.c
 spaceball_LDFLAGS = -export-dynamic
-spaceball_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS)
+spaceball_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS) -lm
 spaceball_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)