To build shared libraries on Windows, one has to declare explicitly that there are...
authorSven Panne <sven.panne@aedion.de>
Sun, 1 Mar 2009 11:38:18 +0000 (11:38 +0000)
committerSven Panne <sven.panne@aedion.de>
Sun, 1 Mar 2009 11:38:18 +0000 (11:38 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@789 7f0cb862-5218-0410-a997-914c9d46530a

src/Makefile.am

index 98fae4b..027b3b9 100644 (file)
@@ -43,7 +43,7 @@ lib@LIBRARY@_la_SOURCES = freeglut_callbacks.c \
 # Additional linker flags
 #       
 lib@LIBRARY@_la_LIBADD  = $(LIBM) $(X_LIBS) $(GL_LIBS) $(LIBXXF86VM) $(LIBXI)
-lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO)
+lib@LIBRARY@_la_LDFLAGS = $(VERSION_INFO) -no-undefined
 lib@LIBRARY@_la_CFLAGS  = $(X_CFLAGS) $(EXPORT_FLAGS)
 lib@LIBRARY@_la_CPPFLAGS= -I$(top_srcdir)/include