From 93869523a6f06f349d982802e68009e47488df99 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Wed, 28 Sep 2011 01:06:39 +0000 Subject: [PATCH] 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 --- progs/demos/Lorenz/Makefile.am | 2 +- progs/demos/spaceball/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.10.4