From 9b77f457002147f47ed248d6310fde2a81250191 Mon Sep 17 00:00:00 2001 From: fayjf 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: https://svn.code.sf.net/p/freeglut/code/trunk@940 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/progs/demos/Lorenz/Makefile.am | 2 +- freeglut/freeglut/progs/demos/spaceball/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freeglut/freeglut/progs/demos/Lorenz/Makefile.am b/freeglut/freeglut/progs/demos/Lorenz/Makefile.am index 9180fc3..532184d 100644 --- a/freeglut/freeglut/progs/demos/Lorenz/Makefile.am +++ b/freeglut/freeglut/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/freeglut/freeglut/progs/demos/spaceball/Makefile.am b/freeglut/freeglut/progs/demos/spaceball/Makefile.am index e2a3ab4..13663fc 100644 --- a/freeglut/freeglut/progs/demos/spaceball/Makefile.am +++ b/freeglut/freeglut/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)