Files
poky/meta/recipes-devtools
Ross Burton 05f2bf7970 cmake: fix linking in multilib SDKs
CMake, in it's infinite wisdom, when searching for libraries (using
find_library) will look inside the libraries PREFIX/lib, PREFIX/lib32, and
PREFIX/lib64.  In a multilib SDK more than one of these will exist (potentially
all three) and obviously for a given build configuration only one of those is
valid.  This search path is hard-coded deep inside CMake but by setting
CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX we can bypass it and set an explicit
lib<SUFFIX> to use.

Do this by writing ${baselib} into the environment file, and then stripping
"lib" from this to obtain the suffix in the cmake-specific environment script,
which is then read in the CMake toolchain.

(From OE-Core rev: 47160a8c51310f2b40cabf4c1910b5df6e0a15d6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-07 12:13:03 +01:00
..
2018-03-09 09:17:03 -08:00
2018-07-05 00:22:08 +01:00
2018-08-07 12:13:03 +01:00
2018-06-27 13:55:21 +01:00
2018-06-27 13:55:21 +01:00
2018-06-18 11:07:57 +01:00
2018-03-20 09:59:32 +00:00
2018-08-02 09:30:11 +01:00
2018-07-05 00:22:08 +01:00
2018-03-06 06:43:10 -08:00
2017-08-13 09:27:38 +01:00
2018-05-22 13:13:33 +01:00
2018-07-05 11:39:06 +01:00
2018-02-06 11:06:28 +00:00
2018-07-05 00:22:08 +01:00
2018-03-09 09:17:03 -08:00
2018-05-11 07:49:37 +01:00
2018-01-02 17:24:37 +00:00
2018-08-01 10:28:05 +01:00
2018-03-11 06:27:00 -07:00
2018-01-30 12:53:16 +00:00
2018-03-11 06:27:01 -07:00
2018-03-31 09:48:42 +01:00
2018-03-07 06:34:51 -08:00
2018-04-03 23:53:20 +01:00
2017-12-18 18:03:56 +00:00
2018-04-13 16:58:07 +01:00
2018-07-18 10:18:42 +01:00
2018-04-23 17:26:04 +01:00
2018-08-02 09:30:11 +01:00
2018-07-04 00:02:16 +01:00
2018-07-26 13:16:40 +01:00
2018-07-24 11:52:26 +01:00
2018-06-21 09:34:40 +01:00
2018-05-15 10:56:50 +01:00
2018-03-09 09:17:03 -08:00
2018-07-24 11:52:26 +01:00
2018-02-06 11:06:29 +00:00
2018-05-08 16:14:14 +01:00