[PATCH] Fix Debian bug #615278: FTBFS (no-add-needed)



>From the build log:

/usr/bin/ld: giggle-rev-list-view.o: undefined reference to symbol 'giggle_revision_get_author'
/usr/bin/ld: note: 'giggle_revision_get_author' is defined in DSO /build/buildd-giggle_0.5-1+b2-amd64-gFmjR2/giggle-0.5/libgiggle/.libs/libgiggle.so.0 so try adding it to the linker command line
/build/buildd-giggle_0.5-1+b2-amd64-gFmjR2/giggle-0.5/libgiggle/.libs/libgiggle.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [giggle] Error 1
---
 src/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index ee4aba8..8b09c84 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -70,7 +70,9 @@ giggle_SOURCES = \
 	$(NULL)
 
 giggle_LDADD = \
-	../libgiggle-git/libgiggle-git.la
+	$(GIGGLE_LIBS) \
+	../libgiggle-git/libgiggle-git.la \
+	../libgiggle/libgiggle.la
 
 if IGE_PLATFORM_OSX
 
-- 
1.7.2.3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]