aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/wxwidgets/wxwidgets/not-append-system-name-to-lib-name.patch
blob: 6329256b0c5d7b3798515f65e3042ff1ac4285af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
It appends system name to library names for cross compile. For example, the
library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is
not appropriate for oe.

Upstream-Status: Pending [oe specific]

Signed-off-by: Kai Kang <kai.kang@windriver.com>

Rebase for wxWidgets 3.2.1.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 build/cmake/functions.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake
index e374d9a273..c6b1908bd6 100644
--- a/build/cmake/functions.cmake
+++ b/build/cmake/functions.cmake
@@ -219,9 +219,9 @@ function(wx_set_target_properties target_name)
     endif()
 
     set(cross_target)
-    if (CMAKE_CROSSCOMPILING)
-        set(cross_target "-${CMAKE_SYSTEM_NAME}")
-    endif()
+    #if (CMAKE_CROSSCOMPILING)
+    #    set(cross_target "-${CMAKE_SYSTEM_NAME}")
+    #endif()
 
     set(lib_prefix "lib")
     if(MSVC OR (WIN32 AND wxBUILD_SHARED))