From 1ff574aa7ce2f570c0486eec4945678adf33735a Mon Sep 17 00:00:00 2001 From: "Juan E. Sanchez" Date: Wed, 25 Sep 2024 21:54:32 -0500 Subject: [PATCH] Fix issue #939 --- kivy_ios/recipes/python3/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kivy_ios/recipes/python3/__init__.py b/kivy_ios/recipes/python3/__init__.py index 47e78066..f9918ce0 100644 --- a/kivy_ios/recipes/python3/__init__.py +++ b/kivy_ios/recipes/python3/__init__.py @@ -44,6 +44,9 @@ def get_build_env(self, plat): join(self.ctx.dist_dir, "hostpython3", "bin"), os.environ["PATH"]) build_env["CFLAGS"] += " --sysroot={}".format(plat.sysroot) + # fixes build issue when libb2 installed on host system + build_env["LIBB2_CFLAGS"] = "" + build_env["LIBB2_LIBS"] = "" return build_env def build_platform(self, plat):