diff --git a/pycheribuild/projects/cross/python.py b/pycheribuild/projects/cross/python.py index ee644b6d3..f03553a00 100644 --- a/pycheribuild/projects/cross/python.py +++ b/pycheribuild/projects/cross/python.py @@ -93,6 +93,7 @@ def configure(self, **kwargs): ac_cv_file__dev_ptmx="no", # no /dev/ptmx file on cheribsd ac_cv_file__dev_ptc="no", # no /dev/ptc file on cheribsd ) + self.configure_args.append(f"--with-build-python={native_python}") # self.configure_environment["ac_cv_file__dev_ptmx+set"] = "set" # self.configure_environment["ac_cv_file__dev_ptc+set"] = "set" # TODO: do I need to set? ac_sys_release=13.0