[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: python-wxpython: Add a debug output
From: |
guix-commits |
Subject: |
04/04: gnu: python-wxpython: Add a debug output |
Date: |
Wed, 3 May 2023 22:18:05 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit ae6643326a983d141fd8320a755181d21e5a1f2f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed May 3 21:41:05 2023 -0400
gnu: python-wxpython: Add a debug output
* gnu/packages/wxwidgets.scm (python-wxpython) [outputs]: New field.
[arguments]: Provide the '--debug' build option in the configure phase.
---
gnu/packages/wxwidgets.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 130e695385..e6194e6f50 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -282,6 +282,7 @@ and many other languages.")
(delete-file-recursively "ext/wxWidgets")))
(patches (search-patches "python-wxwidgets-type-errors.patch"))))
(build-system python-build-system)
+ (outputs '("out" "debug"))
(arguments
(list
#:phases
@@ -290,7 +291,9 @@ and many other languages.")
(lambda* (#:key inputs #:allow-other-keys)
;; Configure the build options provided to the 'build.py' build
;; script.
- (setenv "WXPYTHON_BUILD_ARGS" "--use_syswx") ;use system
wxwidgets
+ (setenv "WXPYTHON_BUILD_ARGS"
+ (string-join '("--debug" ;include debug symbols
+ "--use_syswx"))) ;use system wxwidgets
(setenv "WXWIN" #$(this-package-input "wxwidgets"))
;; Copy the waf executable to the source directory since it needs
;; to be in a writable directory.