Quoting Kent Sandvik:
> Marcus Gustafsson wrote:
> 
> >I have the following patch that solves a similar problem when cross
> >compiling:
> >--- DirectFB-0.9.20.orig/configure      Mon Oct  6 23:50:58 2003
> >+++ DirectFB-0.9.20/configure   Tue Feb 10 10:41:20 2004
> >@@ -7057,6 +7057,8 @@
> > else
> >   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
> > fi
> >+sys_lib_dlsearch_path_spec=""
> >+sys_lib_search_path_spec=""
> > need_lib_prefix=unknown
> > hardcode_into_libs=no
> 
> Hi, thx, that was the trick! BTW, any chance this could be rolled into 
> the mainline configure, maybe as part of selecting the target separate 
> from the host? --Kent

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


Please try the CVS version.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to