[clutter-gtk] Use -no-undefined ld flag
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] Use -no-undefined ld flag
- Date: Tue, 7 Oct 2014 13:00:02 +0000 (UTC)
commit f10a5ea33c9c5339f2b35f2406900320b7db227d
Author: Kouhei Sutou <kou clear-code com>
Date: Mon Apr 29 18:08:59 2013 +0900
Use -no-undefined ld flag
It fixes DLL generation by cross compile.
https://bugzilla.gnome.org/show_bug.cgi?id=699202
clutter-gtk/Makefile.am | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter-gtk/Makefile.am b/clutter-gtk/Makefile.am
index c97eae0..7dc484a 100644
--- a/clutter-gtk/Makefile.am
+++ b/clutter-gtk/Makefile.am
@@ -47,7 +47,7 @@ source_h_private = \
libclutter_gtk_ CLUTTER_GTK_API_VERSION@_la_SOURCES = $(source_c) $(source_h) $(source_h_private)
libclutter_gtk_ CLUTTER_GTK_API_VERSION@_la_LIBADD = $(CLUTTER_GTK_DEPS_LIBS) $(LIBM)
libclutter_gtk_ CLUTTER_GTK_API_VERSION@_la_LDFLAGS = \
- $(CLUTTER_LT_LDFLAGS) \
+ $(CLUTTER_GTK_LT_LDFLAGS) \
-export-symbols-regex "^gtk_clutter.*"
cluttergtkheadersdir = $(includedir)/clutter-gtk- CLUTTER_GTK_API_VERSION@/clutter-gtk
diff --git a/configure.ac b/configure.ac
index 3e353a3..4df71f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ AC_MSG_CHECKING([if building for some Win32 platform])
AS_CASE([$host],
[*-*-mingw*|*-*-cygwin*],
[
- CLUTTER_LT_LDFLAGS="$CLUTTER_GTK_LT_LDFLAGS -no-undefined"
+ CLUTTER_GTK_LT_LDFLAGS="$CLUTTER_GTK_LT_LDFLAGS -no-undefined"
platform_win32=yes
],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]