1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-05 03:19:18 -04:00
ports/devel/gcc-arm-embedded/files/patch-src_gdb_gdb_python_python-config.py
2020-03-17 18:48:10 +00:00

11 lines
502 B
Python

--- src/gdb/gdb/python/python-config.py.orig 2018-05-04 21:32:36 UTC
+++ src/gdb/gdb/python/python-config.py
@@ -58,7 +58,7 @@ for opt in opt_flags:
print (to_unix_path(' '.join(flags)))
elif opt in ('--libs', '--ldflags'):
- libs = ['-lpython' + pyver + abiflags]
+ libs = ['-L' + sysconfig.PREFIX + "/lib", '-lpython' + pyver + abiflags]
if getvar('LIBS') is not None:
libs.extend(getvar('LIBS').split())
if getvar('SYSLIBS') is not None: