rtems-tools/tools/5/gdb/patch-gdb-python-python-config.py
Sebastian Huber 469e362330 Add tools/5 patches
Update #3220.
2017-11-09 09:41:34 +01:00

12 lines
449 B
Python

--- gdb/python/python-config.py.orig 2013-10-17 11:24:52.000000000 +0200
+++ gdb/python/python-config.py 2013-10-17 11:25:04.000000000 +0200
@@ -59,6 +59,8 @@
elif opt in ('--libs', '--ldflags'):
libs = []
+ if getvar('LDFLAGS') is not None:
+ libs.extend(getvar('LDFLAGS').split())
if getvar('LIBS') is not None:
libs.extend(getvar('LIBS').split())
if getvar('SYSLIBS') is not None: