Patrick Williams | 4585273 | 2022-04-02 08:58:32 -0500 | [diff] [blame] | 1 | It appends system name to library names for cross compile. For example, the |
| 2 | library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is |
| 3 | not appropriate for oe. |
| 4 | |
| 5 | Upstream-Status: Pending [oe specific] |
| 6 | |
| 7 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 8 | |
| 9 | Rebase for wxWidgets 3.2.1. |
| 10 | |
| 11 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
Patrick Williams | 4585273 | 2022-04-02 08:58:32 -0500 | [diff] [blame] | 12 | --- |
| 13 | build/cmake/functions.cmake | 6 +++--- |
| 14 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 15 | |
| 16 | diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 17 | index e374d9a273..c6b1908bd6 100644 |
Patrick Williams | 4585273 | 2022-04-02 08:58:32 -0500 | [diff] [blame] | 18 | --- a/build/cmake/functions.cmake |
| 19 | +++ b/build/cmake/functions.cmake |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 20 | @@ -219,9 +219,9 @@ function(wx_set_target_properties target_name) |
| 21 | endif() |
Patrick Williams | 4585273 | 2022-04-02 08:58:32 -0500 | [diff] [blame] | 22 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 23 | 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)) |