On May 12, 2014, at 11:06 AM, Burton, Ross <ross.bur...@intel.com> wrote:
> On 12 May 2014 15:40, Drew Moseley <d...@moseleynet.net> wrote:
>>> should this be libdir instead ?
>> 
>> I don't believe so.  This is used at compile time to locate the libraries 
>> and header files.  However forcing it here to be the libdir is clearly not 
>> correct even though it doesn't seem to break the build.
>> 
>> I'll continue investigating and see if I can find a better solution.
> 
> For configure-time detection of libraries STAGING_LIBDIR is correct.
> 
> Ross

It's actually a bit different than just standard configure-time detection.  
With the current code, all that is specified on the configure command line is 
"--with-glut" which results in the following compile issue:

| ../../x86_64-mel-linux-libtool: line 6012: cd: yes/lib: No such file or 
directory
| x86_64-mel-linux-libtool: link: cannot determine absolute directory name of 
`yes/lib'
| make[2]: *** [libutil.la] Error 1

Interestingly since we use the '--sysroot=' command line option then the actual 
value specified to '--with-glut' is actually redundant.  STAGING_LIBDIR is not 
the right value here though since it's used to located both header files and 
libs.  I'm testing an updated version now.

Drew
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to