From 293c6be2c065c1017e6e19010583432c2176fcc8 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Mon, 21 Oct 2013 16:36:14 +0000 Subject: [PATCH] - Add a patch I forgot in ports/183048 Reported by: Luca Pizzamiglio (maintainer) --- devel/gdb/files/patch-gdb-python-python-config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/gdb/files/patch-gdb-python-python-config.py diff --git a/devel/gdb/files/patch-gdb-python-python-config.py b/devel/gdb/files/patch-gdb-python-python-config.py new file mode 100644 index 000000000000..24332402d5cc --- /dev/null +++ b/devel/gdb/files/patch-gdb-python-python-config.py @@ -0,0 +1,11 @@ +--- gdb/python/python-config.py.orig 2013-10-17 11:24:52.000000000 +0200 ++++ gdb/python/python-config.py 2013-10-17 11:25:04.000000000 +0200 +@@ -59,6 +59,8 @@ + + elif opt in ('--libs', '--ldflags'): + libs = [] ++ 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: