summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/add-back-option-build-base.patch
blob: 2622df24e2fadd62627896ad3992066fdb2ea988 (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
From bc08fddaf4b23073b2afbc045a26aedc4d2c6470 Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Wed, 30 Mar 2022 17:39:33 +0800
Subject: [PATCH] Add back default user options for cross build.

Upstream-Status: Pending [oe specific]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 99ee6612..fad5aba8 100644
--- a/setup.py
+++ b/setup.py
@@ -111,7 +111,7 @@ class wx_build(orig_build):
     Delegate to build.py for doing the actual build, (including wxWidgets)
     instead of letting distutils do it all.
     """
-    user_options = [
+    user_options = orig_build.user_options + [
         ('skip-build', None, 'skip building the C/C++ code (assumes it has already been done)'),
         ]
     boolean_options = ['skip-build']