Undoing changeset 949 as it breaks the Linux build, per e-mail from John Tsiombikas...
[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)