summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2019-07-29 15:12:50 -0600
committerGedare Bloom <gedare@rtems.org>2019-07-29 15:12:50 -0600
commit4f903fb57c83e0f8f0e38cd40ced76532b8aa5a0 (patch)
treeda5270eefed273496d7721a836939d8a29ccd997
parent6: Update unstable RTEMS 6 tool chain (diff)
downloadrtems-source-builder-4f903fb57c83e0f8f0e38cd40ced76532b8aa5a0.tar.bz2
Adjust gdb-python checks
-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 159b8a5..0f028ff 100644
--- a/source-builder/config/gdb-common-1.cfg
+++ b/source-builder/config/gdb-common-1.cfg
@@ -108,7 +108,7 @@
%define gdb-host-libs -L '%{host_ldflags}'
%endif
%if %{gdb-python-config} != %{nil}
- %define gdb-python-lib-filter awk 'BEGIN{FS=" "}/python/{for(i=1;i<NF;++i)if(match($i,".*python.*")) print "lib"substr($i,3)"*";}'
+ %define gdb-python-lib-filter awk 'BEGIN{FS=" "}/python/{for(i=1;i<NF;++i)if(match($i,".*lpython.*")) print "lib"substr($i,3)"*";}'
%define gdb-python-config-libs %(%{gdb-python-config} --ldflags | %{gdb-python-lib-filter})
%define gdb-python-lib-check %(%{_sbdir}/sb/rtems-build-dep -c %{__cc} %{gdb-host-libs} -l %{gdb-python-config-libs})
%else