env_la_SOURCES = env.c env.h
test_la_SOURCES = test.c test.h
+if WIN32
+AM_LDFLAGS += -no-undefined
+endif
+
if HAVE_GLUT
noinst_LTLIBRARIES = teapot.la
teapot_la_SOURCES = \
$(top_srcdir)/examples/plugin/teapot.c \
$(top_srcdir)/examples/plugin/teapot.h
+teapot_la_LDFLAGS = $(AM_LDFLAGS) -lglut -rpath $(libdir) # I hate you libtool
endif
test: