[seed] [modules] Change *order* of link arguments by moving to AM_LDFLAGS
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] [modules] Change *order* of link arguments by moving to AM_LDFLAGS
- Date: Fri, 3 Jul 2009 03:39:35 +0000 (UTC)
commit 99ed7947d9b96333b93e628cf56da2cf29445a01
Author: Tim Horton <hortont svn gnome org>
Date: Thu Jul 2 23:38:17 2009 -0400
[modules] Change *order* of link arguments by moving to AM_LDFLAGS
This fixes the eternal forced cleaning when readline (and now mpfr)
fail to build because their seed modules are named the same thing
as the libraries (and because we're not using pkg-config to find the
libraries).
modules/mpfr/Makefile.am | 2 +-
modules/readline/Makefile.am | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/modules/mpfr/Makefile.am b/modules/mpfr/Makefile.am
index 6420906..1334829 100644
--- a/modules/mpfr/Makefile.am
+++ b/modules/mpfr/Makefile.am
@@ -18,7 +18,7 @@ libmpfr_la_LDFLAGS = \
$(GOBJECT_INTROSPECTION_LDFLAGS) \
$(SEED_PROFILE_LIBS)
-libmpfr_la_LIBADD = -lmpfr -lgmp
+AM_LDFLAGS = -lmpfr -lgmp
endif
diff --git a/modules/readline/Makefile.am b/modules/readline/Makefile.am
index 36fda5b..0bdf1f9 100644
--- a/modules/readline/Makefile.am
+++ b/modules/readline/Makefile.am
@@ -18,7 +18,8 @@ libreadline_la_CFLAGS = \
libreadline_la_LDFLAGS = \
$(GOBJECT_INTROSPECTION_LDFLAGS) \
$(FFI_LDFLAGS) \
- -lreadline \
$(SEED_PROFILE_LIBS)
+AM_LDFLAGS = -lreadline
+
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]