12 lines
593 B
Text
12 lines
593 B
Text
Index: gdb/python/python-config.py
|
|
--- gdb/python/python-config.py.orig
|
|
+++ gdb/python/python-config.py
|
|
@@ -71,6 +71,8 @@ for opt in opt_flags:
|
|
libs.insert(0, '-L' + getvar('LIBPL'))
|
|
elif os.name == 'nt':
|
|
libs.insert(0, '-L' + sysconfig.PREFIX + '/libs')
|
|
+ if getvar('CONFIGURE_LDFLAGS') is not None:
|
|
+ libs.insert(0, getvar('CONFIGURE_LDFLAGS'))
|
|
if getvar('LINKFORSHARED') is not None:
|
|
libs.extend(getvar('LINKFORSHARED').split())
|
|
print (to_unix_path(' '.join(libs)))
|