Skip to content

Commit

Permalink
Link libC
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Aug 31, 2023
1 parent 24db7af commit 4574d59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pydust/zigexe.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def build_argv(command: Command, ext_module: config.ExtModule):
"-fallow-shlib-undefined",
]

# Link libC
argv += ["-lc"]

with pyconf(ext_module) as pyconf_file:
# Setup a pyconf module
argv += ["--mod", f"pyconf::{pyconf_file}"]
Expand Down

0 comments on commit 4574d59

Please sign in to comment.