summaryrefslogtreecommitdiffstats
path: root/source-builder/config/gdb-common-1.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'source-builder/config/gdb-common-1.cfg')
-rw-r--r--source-builder/config/gdb-common-1.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/config/gdb-common-1.cfg b/source-builder/config/gdb-common-1.cfg
index 0f028ff..87b9d0a 100644
--- a/source-builder/config/gdb-common-1.cfg
+++ b/source-builder/config/gdb-common-1.cfg
@@ -114,7 +114,7 @@
%else
%define gdb-python-lib-check %(%{_sbdir}/sb/rtems-build-dep -c %{__cc} %{gdb-host-libs} -l %{gdb-python-ver-lib})
%endif
- %if %{gdb-python-lib-check} == not-found
+ %if %{gdb-python-lib-check} == not-found && !%{_rsb_getting_source}
%error "gdb: python: library file not found: %{gdb-python-ver-lib}, please install"
%endif
%endif