On May 18, 2000, Mocha <[EMAIL PROTECTED]> wrote:

> SYSTEM: NetBSD-1.4Y (-current ELF) on DEC Alpha

> i'm trying to compile PHP4.0RC2 which uses libtool 1.3.4. libtool seems
> to be passing a -Wl to ld which doesn't recognizes it.

Does this patch fix the problem for you?

Index: ChangeLog
from  Alexandre Oliva  <[EMAIL PROTECTED]>

	* ltconfig.in (wlarc): Set to empty on netbsd with GNU ld.

Index: ltconfig.in
===================================================================
RCS file: /home/cvs/libtool/ltconfig.in,v
retrieving revision 1.261
diff -u -r1.261 ltconfig.in
--- ltconfig.in	2000/04/10 18:39:30	1.261
+++ ltconfig.in	2000/05/20 08:44:19
@@ -1088,6 +1088,7 @@
       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     else
       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+      wlarc=
     fi
     ;;
 

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to