mirror of
https://git.yoctoproject.org/poky
synced 2026-03-10 01:09:40 +01:00
Changelog: https://people.redhat.com/sgrubb/libcap-ng/ChangeLog - Remove python global exception handler since it's deprecated - Make the utilities link against just built libraries - Remove unused macro in cap-ng.h Drop backport patch fix-issues-with-swig-4-2.patch. Backport a patch to fix build for libcap-ng-python. (From OE-Core rev: 5eff01bbc58dcb1d51639ee4b43ee9a3e23e39ed) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0263fd8193e51e54a4598ea3811c3c0a6e781f85) Signed-off-by: Steve Sakoman <steve@sakoman.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 1fe7c1cfeea00ba4eb903fbb39b74361594d4835 Mon Sep 17 00:00:00 2001
|
|
From: Jan Palus <jpalus@fastmail.com>
|
|
Date: Wed, 10 Apr 2024 21:30:51 +0200
|
|
Subject: [PATCH] Fix python path when invoking py-compile (#54)
|
|
|
|
48eebb2 replaced custom PYTHON3 variable with PYTHON by using standard
|
|
AM_PATH_PYTHON macro. Makefile however still referred to old one.
|
|
There's no need to set PYTHON explicitly anymore so drop it.
|
|
|
|
Fixes #53
|
|
|
|
Upstream-Status: Backport
|
|
[https://github.com/stevegrubb/libcap-ng/commit/1fe7c1cfeea00ba4eb903fbb39b74361594d4835]
|
|
|
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
|
---
|
|
bindings/python3/Makefile.am | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/bindings/python3/Makefile.am b/bindings/python3/Makefile.am
|
|
index 70a1dd8..6072fc2 100644
|
|
--- a/bindings/python3/Makefile.am
|
|
+++ b/bindings/python3/Makefile.am
|
|
@@ -27,7 +27,6 @@ AM_CPPFLAGS = -I. -I$(top_builddir) $(PYTHON3_INCLUDES)
|
|
LIBS = ${top_builddir}/src/libcap-ng.la
|
|
SWIG_FLAGS = -python
|
|
SWIG_INCLUDES = ${AM_CPPFLAGS}
|
|
-PYTHON = $(PYTHON3)
|
|
pyexec_PYTHON = capng.py
|
|
pyexec_LTLIBRARIES = _capng.la
|
|
pyexec_SOLIBRARIES = _capng.so
|
|
--
|
|
2.25.1
|
|
|