blob: 6329256b0c5d7b3798515f65e3042ff1ac4285af [file] [log] [blame]
Patrick Williams45852732022-04-02 08:58:32 -05001It appends system name to library names for cross compile. For example, the
2library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is
3not appropriate for oe.
4
5Upstream-Status: Pending [oe specific]
6
7Signed-off-by: Kai Kang <kai.kang@windriver.com>
Andrew Geissler517393d2023-01-13 08:55:19 -06008
9Rebase for wxWidgets 3.2.1.
10
11Signed-off-by: Kai Kang <kai.kang@windriver.com>
Patrick Williams45852732022-04-02 08:58:32 -050012---
13 build/cmake/functions.cmake | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake
Andrew Geissler517393d2023-01-13 08:55:19 -060017index e374d9a273..c6b1908bd6 100644
Patrick Williams45852732022-04-02 08:58:32 -050018--- a/build/cmake/functions.cmake
19+++ b/build/cmake/functions.cmake
Andrew Geissler517393d2023-01-13 08:55:19 -060020@@ -219,9 +219,9 @@ function(wx_set_target_properties target_name)
21 endif()
Patrick Williams45852732022-04-02 08:58:32 -050022
Andrew Geissler517393d2023-01-13 08:55:19 -060023 set(cross_target)
24- if (CMAKE_CROSSCOMPILING)
25- set(cross_target "-${CMAKE_SYSTEM_NAME}")
26- endif()
27+ #if (CMAKE_CROSSCOMPILING)
28+ # set(cross_target "-${CMAKE_SYSTEM_NAME}")
29+ #endif()
30
31 set(lib_prefix "lib")
32 if(MSVC OR (WIN32 AND wxBUILD_SHARED))