Skip to content

Commit

Permalink
Fix issue #939
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaduser committed Sep 26, 2024
1 parent 53612cc commit 1ff574a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kivy_ios/recipes/python3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1ff574a

Please sign in to comment.