From 426181ae3bc26b8fb15fb712ec8cf14e0832a3c0 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 27 May 2024 15:18:24 -0500 Subject: user/volume_key: Fix build against Python 3 If the build environment has a /usr/bin/python, the build system believes it is Python 2. Ensure that does not happen. --- user/volume_key/APKBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/user/volume_key/APKBUILD b/user/volume_key/APKBUILD index d6d22c271..69da50792 100644 --- a/user/volume_key/APKBUILD +++ b/user/volume_key/APKBUILD @@ -21,13 +21,15 @@ prepare() { } build() { - ./configure \ + PYTHON3=python3.11 ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var + --localstatedir=/var \ + --with-python=no \ + --with-python3 make } -- cgit v1.2.3-70-g09d2