Re: [Clamav-devel] --as-needed in GNU ld

2006-04-03 Thread Sergey
On Tuesday 14 March 2006 14:59, Sergey wrote: configure: error: Cannot find libmilter error: Bad exit status from /home/asy/tmp/rpm-tmp.82987 (%build) I found what test called as gcc -o conftest -g -O2   -lnsl -lmilter  -lnsl -lpthread conftest.c -lmilter   -lnsl 5 I think that -l*

[Clamav-devel] --as-needed in GNU ld

2006-03-14 Thread Sergey
Hello. configure is not passwd when ld called with --as-needed: skip checking for curl = 7.10.0... 7.15.1 checking for mi_stop in -lmilter... no checking for library containing strlcpy... none required checking for mi_stop in -lmilter... no configure: error: Cannot find libmilter error: Bad exit