***************
*** 11,17 ****
  
  gtkglinclude_HEADERS= gdkgl.h gtkglarea.h
  libgtkgl_la_SOURCES = gdkgl.c gtkglarea.c
- libgtkgl_la_LDFLAGS = -version-info $(GTKGL_LIBRARY_VERSION) @GTK_LIBS@ @GL_LIBS@
  
  makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gtkgl/makefile.mingw.in
  	cd $(top_builddir) && CONFIG_FILES=gtkgl/$@ CONFIG_HEADERS= $(SHELL) ./config.status
--- 11,17 ----
  
  gtkglinclude_HEADERS= gdkgl.h gtkglarea.h
  libgtkgl_la_SOURCES = gdkgl.c gtkglarea.c
+ libgtkgl_la_LDFLAGS = -no-undefined -version-info $(GTKGL_LIBRARY_VERSION) @GTK_LIBS@ @GL_LIBS@
  
  makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gtkgl/makefile.mingw.in
  	cd $(top_builddir) && CONFIG_FILES=gtkgl/$@ CONFIG_HEADERS= $(SHELL) ./config.status
