Skip to content

Commit

Permalink
libffi: fix build by passing --host flag to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Mar 12, 2024
1 parent 1e23e89 commit 16b97f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/libffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def build(ctx, clean=False, threads=False):
build_env,
[
"./configure",
"--build=wasm32",
"--host=wasm32-wasi",
"--includedir={}".format(
build_env["FAASM_WASM_HEADER_INSTALL_DIR"]
),
Expand Down

0 comments on commit 16b97f2

Please sign in to comment.