Changeset View
Changeset View
Standalone View
Standalone View
devel/gdb/files/patch-gdb-python-python-config.py
--- gdb/python/python-config.py.orig 2013-10-17 11:24:52.000000000 +0200 | diff --git gdb/python/python-config.py gdb/python/python-config.py | ||||
+++ gdb/python/python-config.py 2013-10-17 11:25:04.000000000 +0200 | index c2b2969..39af8d9 100644 | ||||
@@ -59,6 +59,8 @@ | --- gdb/python/python-config.py | ||||
+++ gdb/python/python-config.py | |||||
@@ -59,6 +59,8 @@ for opt in opt_flags: | |||||
elif opt in ('--libs', '--ldflags'): | elif opt in ('--libs', '--ldflags'): | ||||
libs = [] | libs = [] | ||||
+ if getvar('LDFLAGS') is not None: | + if getvar('LDFLAGS') is not None: | ||||
+ libs.extend(getvar('LDFLAGS').split()) | + libs.extend(getvar('LDFLAGS').split()) | ||||
if getvar('LIBS') is not None: | if getvar('LIBS') is not None: | ||||
libs.extend(getvar('LIBS').split()) | libs.extend(getvar('LIBS').split()) | ||||
if getvar('SYSLIBS') is not None: | if getvar('SYSLIBS') is not None: |