Denis Oliver Kropp wrote: > > I think cross compiling is used if HOST differs from BUILD, > see "./configure --help" and look for "--host". > > I've added these lines to "configure.in": > > ## Work around libstuhl during cross build... > if test "$host" != "$build"; then > sys_lib_dlsearch_path_spec="" > sys_lib_search_path_spec="" > fi
Does it work? This is an ancient libtool bug, I usually patch my /usr/share/aclocal/libtool.m4: --- libtool.m4.orig 2003-08-18 14:05:05.000000000 +0200 +++ libtool.m4 2003-08-18 14:08:29.000000000 +0200 @@ -1610,6 +1610,10 @@ dynamic_linker=no ;; esac +if test "$cross_compiling" = "yes"; then + # the standard paths are for the build system only... + sys_lib_search_path_spec= +fi AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER I have: $ libtool --version ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Debian: 203 $ I think it is fixed in libtool mainline, but I am not 100% sure. I once checked to see if I should sne d a patch but decided it was already fixed in CVS. Maybe someone has time to check again: http://savannah.gnu.org/cgi-bin/viewcvs/libtool/libtool/m4/ Johannes -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
