[gnote] Fix build with LDFLAGS="-Wl,--as-needed" (Closes #581559)
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] Fix build with LDFLAGS="-Wl,--as-needed" (Closes #581559)
- Date: Mon, 11 May 2009 18:27:22 -0400 (EDT)
commit afea81089e650e0f63d6cf87afdf7be3da01210a
Author: Priit Laes <plaes plaes org>
Date: Wed May 6 10:05:06 2009 +0300
Fix build with LDFLAGS="-Wl,--as-needed" (Closes #581559)
Signed-off-by: Hubert Figuiere <hub figuiere net>
---
NEWS | 2 ++
src/Makefile.am | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 84a3ba3..81e1e94 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ Fixes:
(Closes #581618)
* Remove obsolete UTF-8 keyword in .desktop (Closes #581623)
(Robert Millan)
+ * Fix build with LDFLAGS="-Wl,--as-needed" (Closes #581559)
+ (Priit Laes)
Translations:
diff --git a/src/Makefile.am b/src/Makefile.am
index 28d02e9..4096e48 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,9 +13,9 @@ AM_CPPFLAGS= LIBGTKMM_CFLAGS@ @LIBGLIBMM_CFLAGS@ \
AM_LDFLAGS=-Wl,--export-dynamic
-GNOTE_LIBS = @LIBGLIBMM_LIBS@ @LIBGTKMM_LIBS@ @LIBXMLPP_LIBS@ \
+GNOTE_LIBS = libgnote.a @LIBGLIBMM_LIBS@ @LIBGTKMM_LIBS@ @LIBXMLPP_LIBS@ \
@GCONF_LIBS@ @BOOST_FILESYSTEM_LIBS@ @BOOST_REGEX_LIBS@ \
- @GTKSPELL_LIBS@ @GTK_LIBS@ libgnote.a \
+ @GTKSPELL_LIBS@ @GTK_LIBS@ \
-luuid -L$(top_builddir)/libtomboy -ltomboy
noinst_LIBRARIES = libgnote.a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]