Addressing Ubuntu bug 686312 reported as freeglut bug 3407093 -- adding '-lm' to...
authorJohn F. Fay <johnffay@nettally.com>
Wed, 28 Sep 2011 01:06:39 +0000 (01:06 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Wed, 28 Sep 2011 01:06:39 +0000 (01:06 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@940 7f0cb862-5218-0410-a997-914c9d46530a

progs/demos/Lorenz/Makefile.am
progs/demos/spaceball/Makefile.am

index 9180fc3..532184d 100644 (file)
@@ -2,5 +2,5 @@ EXTRA_DIST = lorenz.c lorenz.dsp
 noinst_PROGRAMS = lorenz
 lorenz_SOURCES = lorenz.c
 lorenz_LDFLAGS = -export-dynamic
-lorenz_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS)
+lorenz_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS) -lm
 lorenz_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)
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)