2007-12-31 Tomas Frydrych <tf@openedhand.com>

* configure.ac:
	* clutter/Makefile.am:
	Added -no-undefined to libtool LDFLAGS for mingw/SDL backend, to
	allow building of shared libraries for win32.
This commit is contained in:
Tomas Frydrych 2007-12-31 14:52:17 +00:00
parent 0681a25825
commit 6ffd3b42d5
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-12-31 Tomas Frydrych <tf@openedhand.com>
* 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 <tf@openedhand.com> 2007-12-31 Tomas Frydrych <tf@openedhand.com>
* configure.ac: * configure.ac:

View File

@ -30,7 +30,7 @@ INCLUDES = \
$(NULL) $(NULL)
LDADD = \ LDADD = \
-version-info $(CLUTTER_LT_VERSION) \ $(CLUTTER_LT_LDFLAGS) \
-export-dynamic \ -export-dynamic \
-rpath $(libdir) \ -rpath $(libdir) \
$(NULL) $(NULL)

View File

@ -158,6 +158,7 @@ case $clutterbackend in
fi fi
SDL_LIBS="$SDL_LIBS -lGLee -lopengl32" 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) AC_CHECK_LIB(GL, glEnable, HAVE_LIBGL=yes, HAVE_LIBGL=no)