Addressing Ubuntu bug 686315 reported as freeglut bug 3407093 -- rearranging the...
[freeglut] / progs / demos / One / Makefile.am
index 7f5906c..d51617d 100644 (file)
@@ -1,5 +1,6 @@
 EXTRA_DIST = one.c one.dsp
 noinst_PROGRAMS = one
 one_SOURCES = one.c
-one_LDFLAGS = -export-dynamic ../../../src/lib@LIBRARY@.la
+one_LDFLAGS = -export-dynamic
+one_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS)
 one_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)