From: John F. Fay Date: Wed, 28 Sep 2011 01:06:39 +0000 (+0000) Subject: Addressing Ubuntu bug 686312 reported as freeglut bug 3407093 -- adding '-lm' to... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=93869523a6f06f349d982802e68009e47488df99;p=freeglut Addressing Ubuntu bug 686312 reported as freeglut bug 3407093 -- adding '-lm' to the Lorenz and Spaceball demos git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@940 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/progs/demos/Lorenz/Makefile.am b/progs/demos/Lorenz/Makefile.am index 9180fc3..532184d 100644 --- a/progs/demos/Lorenz/Makefile.am +++ b/progs/demos/Lorenz/Makefile.am @@ -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) diff --git a/progs/demos/spaceball/Makefile.am b/progs/demos/spaceball/Makefile.am index e2a3ab4..13663fc 100644 --- a/progs/demos/spaceball/Makefile.am +++ b/progs/demos/spaceball/Makefile.am @@ -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)