Hi,

The stable libtool release has a bug in libtool.m4 that sets 
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) to '${wl}--rpath ${wl}$libdir'
by default instead of '${wl}-rpath ${wl}$libdir' (one less -). This causes 
the build failure seen at 
http://jhbuild.bxlug.be/builds/2006-12-12-0005/logs/evolution-data-server/#build

This was fixed in the development release two years ago:
http://cvs.savannah.gnu.org/viewcvs/libtool/libtool/m4/Attic/libtool.m4?r1=1.132&r2=1.133


-- 
# TRS-80              trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \
# UCC Wheel Member     http://trs80.ucc.asn.au/ #|  what squirrels do best     |
[ "There's nobody getting rich writing          ]|  -- Collect and hide your   |
[  software that I know of" -- Bill Gates, 1980 ]\  nuts." -- Acid Reflux #231 /
--- libtool.m4	2006-12-13 07:08:36.412770165 +0900
+++ libtool.m4~	2006-05-16 08:43:17.910832636 +0800
@@ -2838,11 +2838,11 @@
   # archiving commands below assume that GNU ld is being used.
   if test "$with_gnu_ld" = yes; then
     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
     _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
-    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
     _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
     # If archive_cmds runs LD, not CC, wlarc should be empty
     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
     #     investigate it a little bit more. (MM)
_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to