diff mbox series

[1/3] classes/python_mesonpy: extend PEP517_BUILD_OPTS instead of assigning

Message ID 20261106124717.564830-1-ross.burton@arm.com
State Under Review
Headers show
Series [1/3] classes/python_mesonpy: extend PEP517_BUILD_OPTS instead of assigning | expand

Commit Message

Ross Burton Nov. 6, 2026, 12:47 p.m. UTC
Don't forcibly assign to PEP517_BUILD_OPTS in case a recipe or other
class has already assigned.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/classes-recipe/python_mesonpy.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/python_mesonpy.bbclass b/meta/classes-recipe/python_mesonpy.bbclass
index 0ad1c970a9f..6ab6ae4527d 100644
--- a/meta/classes-recipe/python_mesonpy.bbclass
+++ b/meta/classes-recipe/python_mesonpy.bbclass
@@ -29,7 +29,7 @@  def mesonpy_get_args(d):
             varlist.append("-Csetup-args=" + elem)
     return ' '.join(varlist)
 
-PEP517_BUILD_OPTS = "-Cbuilddir='${B}' ${@mesonpy_get_args(d)}"
+PEP517_BUILD_OPTS += "-Cbuilddir='${B}' ${@mesonpy_get_args(d)}"
 
 python_mesonpy_do_configure () {
     python_pep517_do_configure