Addressing Ubuntu bug 686312 reported as freeglut bug 3407093 -- adding '-lm' to...
[freeglut] / progs / demos / shapes / Makefile.am
index db85de8..3560e36 100644 (file)
@@ -1,5 +1,6 @@
-EXTRA_DIST = shapes.c
+EXTRA_DIST = shapes.c shapes.dsp
 noinst_PROGRAMS = shapes
 shapes_SOURCES = shapes.c
-shapes_LDFLAGS = -export-dynamic ../../../src/lib@LIBRARY@.la
+shapes_LDFLAGS = -export-dynamic
+shapes_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS)
 shapes_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)