This is the libtool flag which is different than the ld flag, and is
needed for building win32 dlls..
# Demo program
if WIN32
AM_CPPFLAGS += -DUSE_WGL
# Demo program
if WIN32
AM_CPPFLAGS += -DUSE_WGL
+AM_LDFLAGS += -mwindows -no-undefined
dots = ..
else
AM_CPPFLAGS += -DUSE_GLX
dots = ..
else
AM_CPPFLAGS += -DUSE_GLX
env_la_SOURCES = env.c env.h
test_la_SOURCES = test.c test.h
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 = \
if HAVE_GLUT
noinst_LTLIBRARIES = teapot.la
teapot_la_SOURCES = \