mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
10.7.1 accepts libyang v3, so frr keeps building against libyang-legacy. Refresh 997-reverse_python_test.patch, which otherwise applies with an offset of one line; the other two patches are unchanged. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
21 lines
716 B
Diff
21 lines
716 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Lucian Cristian <lucian.cristian@gmail.com>
|
|
Date: Mon, 7 Mar 2022 19:26:52 +0200
|
|
Subject: [PATCH] do not look for python when cross-compiling
|
|
|
|
AM_PATH_PYTHON is only needed for clippy, which is built for the host,
|
|
and it fails the target configure run on OpenWrt.
|
|
|
|
Upstream-Status: Inappropriate [OpenWrt cross-compile setup]
|
|
---
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -980,7 +980,6 @@ AC_DEFINE_UNQUOTED([DFLT_NAME], ["$DFLT_
|
|
#
|
|
|
|
AS_IF([test "$host" = "$build"], [
|
|
- AM_PATH_PYTHON([3])
|
|
AC_CHECK_HEADER([gelf.h], [], [
|
|
AC_MSG_ERROR([libelf headers are required for building clippy. (Host only when cross-compiling.)])
|
|
])
|