blob: cec2729a8054abe56e740df036ea66cf7c543479 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- gdb/python/python-config.py 2017-09-14 09:28:17 UTC
+++ gdb/python/python-config.py
@@ -59,6 +59,8 @@ for opt in opt_flags:
elif opt in ('--libs', '--ldflags'):
libs = ['-lpython' + pyver + abiflags]
+ 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:
|