mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-17 14:01:19 +02:00
add gdb
This commit is contained in:
11
devel/gdb/files/patch-gdb_python_python-config.py
Normal file
11
devel/gdb/files/patch-gdb_python_python-config.py
Normal file
@@ -0,0 +1,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:
|
||||
Reference in New Issue
Block a user