From 0ae8820ba6f1d0a003534e2870a6227c3c8e6e25 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Mon, 16 Feb 2026 13:40:20 +0300
Subject: [PATCH] Check for python3 in addition to python3.9 and python3.12

---
 cinelerra-5.1/guicast/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cinelerra-5.1/guicast/Makefile b/cinelerra-5.1/guicast/Makefile
index 233b45a0..0e893f91 100644
--- a/cinelerra-5.1/guicast/Makefile
+++ b/cinelerra-5.1/guicast/Makefile
@@ -151,6 +151,10 @@ ifeq ($(python),)
 python = $(shell which python3.12)
 endif
 
+ifeq ($(python),)
+python = $(shell which python3)
+endif
+
 
 $(BCXFER):	bccmdl.py bcxfer.C bcxfer.h
 	$(python) < ./bccmdl.py
-- 
2.53.0

