tags 554863 + patch
thanks

following patch fixes this issue


Description: fix build with ld --no-add-needed
 with --no-add-needed/--no-copy-dt-needed one must directly
 link with the libraries one needs.
Author: Julian Taylor <jtaylor.deb...@googlemail.com>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554863
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/idzebra/+bug/749096
Index: idzebra-2.0.44/index/Makefile.am
===================================================================
--- idzebra-2.0.44.orig/index/Makefile.am       2011-07-08 13:07:56.000000000
+0200
+++ idzebra-2.0.44/index/Makefile.am    2011-07-08 13:08:12.855777590 +0200
@@ -114,8 +114,9 @@
 LDADD = $(zebralib)
 AM_LDFLAGS = -Wl,--as-needed

-zebrasrv_LDADD = $(LDADD) -lyaz_server
-zebrash_LDADD= $(LDADD) $(READLINE_LIBS)
+zebrasrv_LDADD = $(LDADD) -lyaz_server $(YAZLIB)
+zebrash_LDADD= $(LDADD) $(READLINE_LIBS) $(YAZLIB)
+zebraidx_LDADD = $(LDADD) $(YAZLIB)

 install-exec-hook:
        cd $(DESTDIR)$(bindir); for p in $(bin_PROGRAMS); do \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to