Addressing Ubuntu bug 686315 reported as freeglut bug 3407093 -- rearranging the...
[freeglut] / progs / demos / spaceball / Makefile.am
index 10b628c..e2a3ab4 100644 (file)
@@ -1,6 +1,6 @@
 EXTRA_DIST = spaceball.c vmath.c vmath.h vmath.inl
-
 noinst_PROGRAMS = spaceball
 spaceball_SOURCES = spaceball.c vmath.c
-spaceball_LDFLAGS = -export-dynamic ../../../src/lib@LIBRARY@.la
-spaceball_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)
\ No newline at end of file
+spaceball_LDFLAGS = -export-dynamic
+spaceball_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS)
+spaceball_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)