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
This commit is contained in:
fayjf 2011-09-28 01:06:39 +00:00
parent cdde1ea3d4
commit 9b77f45700
2 changed files with 2 additions and 2 deletions

View 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)

View 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)