mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
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.
This commit is contained in:
parent
679dcb403e
commit
ae6643326a
1 changed files with 4 additions and 1 deletions
|
@ -282,6 +282,7 @@ (define-public python-wxpython
|
|||
(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 @@ (define-public python-wxpython
|
|||
(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.
|
||||
|
|
Loading…
Reference in a new issue