From 6ffd3b42d5ef1e85ecd45cb64181be5c09bf0e6a Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Mon, 31 Dec 2007 14:52:17 +0000 Subject: [PATCH] 2007-12-31 Tomas Frydrych * configure.ac: * clutter/Makefile.am: Added -no-undefined to libtool LDFLAGS for mingw/SDL backend, to allow building of shared libraries for win32. --- ChangeLog | 7 +++++++ clutter/Makefile.am | 2 +- configure.ac | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 83b1a3eb3..788a96739 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-12-31 Tomas Frydrych + + * configure.ac: + * clutter/Makefile.am: + Added -no-undefined to libtool LDFLAGS for mingw/SDL backend, to + allow building of shared libraries for win32. + 2007-12-31 Tomas Frydrych * configure.ac: diff --git a/clutter/Makefile.am b/clutter/Makefile.am index bd550fdc7..0314215fd 100644 --- a/clutter/Makefile.am +++ b/clutter/Makefile.am @@ -30,7 +30,7 @@ INCLUDES = \ $(NULL) LDADD = \ - -version-info $(CLUTTER_LT_VERSION) \ + $(CLUTTER_LT_LDFLAGS) \ -export-dynamic \ -rpath $(libdir) \ $(NULL) diff --git a/configure.ac b/configure.ac index fa3007ca9..9153d1aeb 100644 --- a/configure.ac +++ b/configure.ac @@ -158,6 +158,7 @@ case $clutterbackend in fi SDL_LIBS="$SDL_LIBS -lGLee -lopengl32" + CLUTTER_LT_LDFLAGS="$CLUTTER_LT_LDFLAGS -no-undefined" ;; *) AC_CHECK_LIB(GL, glEnable, HAVE_LIBGL=yes, HAVE_LIBGL=no)