]> code.ossystems Code Review - openembedded-core.git/commit
cmake-native: fix to function correctly in case of eSDK
authorChen Qi <Qi.Chen@windriver.com>
Mon, 20 Aug 2018 08:57:54 +0000 (16:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Aug 2018 06:45:32 +0000 (07:45 +0100)
commitc0561e930e688890eb5feb4521b2de196137227a
tree493f9350aca9fce4c87d6ed4ac8fe67fa9bc0a76
parent82edd652860a2a1430692af402f0df639161b767
cmake-native: fix to function correctly in case of eSDK

Our eSDK is expected to provide traditional SDK's functionality. But
for cmake, it could not function well in eSDK.

This problem is discovered by the assimp.py test case. The error message
is as below.

  testsdkext/tmp/sysroots/x86_64/usr/lib/libz.so: error adding symbols: file in wrong format
  collect2: error: ld returned 1 exit status

The problem is about cmake-native being unable to find the correct lib.
nativesdk-cmake has solved this problem. So make use of the solution to
solve the eSDK problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/cmake/cmake-native_3.11.4.bb