diff options
| author | Yelninei <yelninei@tutamail.com> | 2026-01-15 13:13:25 +0000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-01-26 10:28:45 +0100 |
| commit | 1d9cf8758ecf49343457b98c1bbb084d214a602b (patch) | |
| tree | 45379886700c44d34331161f246404683825addd /gnu/packages/python-xyz.scm | |
| parent | d7e71dad6d3c64cf2bcda00e3425c614aa7702ba (diff) | |
gnu: gdb: Enable scripting when cross compiling.
Python detection failed because gdb was not able to find the flags for linking
with python.
Follow https://www.sourceware.org/gdb/wiki/CrossCompilingWithPythonSupport but
dispatch to pkg-config.
Guile detection was failing because gdb only tried the unprefixed pkg-config.
Also a native guile is needed to compile the scheme files.
Fixes guix/guix#5634.
* gnu/packages/gdb.scm (gdb-python-config): New procedure.
(gdb-14)[configure-flags]: Add --with-python
[#:phases]: Add a phase for guile detection.
[native-inputs]: Add guile-3.0.
Change-Id: I4a151ac292eba1472725a1535b72b9168bc10742
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5645
Diffstat (limited to 'gnu/packages/python-xyz.scm')
0 files changed, 0 insertions, 0 deletions
