diff options
Diffstat (limited to 'meta-networking/recipes-protocols/frr/frr/0001-m4-ax_python.m4-check-for-python-x.y-emded.pc-not-py.patch')
| -rw-r--r-- | meta-networking/recipes-protocols/frr/frr/0001-m4-ax_python.m4-check-for-python-x.y-emded.pc-not-py.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-networking/recipes-protocols/frr/frr/0001-m4-ax_python.m4-check-for-python-x.y-emded.pc-not-py.patch b/meta-networking/recipes-protocols/frr/frr/0001-m4-ax_python.m4-check-for-python-x.y-emded.pc-not-py.patch deleted file mode 100644 index 872a67c784..0000000000 --- a/meta-networking/recipes-protocols/frr/frr/0001-m4-ax_python.m4-check-for-python-x.y-emded.pc-not-py.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From a82d704b1ec6ece47b01d12e0e067d4b62b10894 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Wed, 9 Nov 2022 20:24:45 +0100 | ||
| 4 | Subject: [PATCH] m4/ax_python.m4: check for python-x.y-emded.pc, not | ||
| 5 | python-x.y.pc | ||
| 6 | |||
| 7 | Only the embed version includes necessary linker flags to link | ||
| 8 | with libpython. | ||
| 9 | |||
| 10 | Upstream-Status: Backport | ||
| 11 | [https://github.com/FRRouting/frr/commit/a82d704b1ec6ece47b01d12e0e067d4b62b10894] | ||
| 12 | |||
| 13 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 14 | --- | ||
| 15 | m4/ax_python.m4 | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/m4/ax_python.m4 b/m4/ax_python.m4 | ||
| 19 | index 91d12b99b..f5e603b96 100644 | ||
| 20 | --- a/m4/ax_python.m4 | ||
| 21 | +++ b/m4/ax_python.m4 | ||
| 22 | @@ -206,7 +206,7 @@ AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
| 23 | AC_MSG_CHECKING([whether pkg-config python-${tryver} is available]) | ||
| 24 | unset PYTHON_CFLAGS | ||
| 25 | unset PYTHON_LIBS | ||
| 26 | - pkg="python-${tryver}" | ||
| 27 | + pkg="python-${tryver}-embed" | ||
| 28 | pkg="${pkg%-}" | ||
| 29 | _PKG_CONFIG([PYTHON_CFLAGS], [cflags], [${pkg}]) | ||
| 30 | _PKG_CONFIG([PYTHON_LIBS], [libs], [${pkg}]) | ||
| 31 | -- | ||
| 32 | 2.25.1 | ||
| 33 | |||
