Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
wortiz committed Aug 7, 2024
1 parent 0a52fd4 commit ea06a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpls/tpl_tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def check_for_x11(extract_dir, cc):
comp = "cc"
if cc:
comp = cc
with open(os.path.join(extract_dir, "x11test.c")) as f:
with open(os.path.join(extract_dir, "x11test.c"), "w") as f:
f.write("int main() {}\n")
command = [cc, "-lX11"]
result = subprocess.Popen(command, cwd=extract_dir)
Expand Down

0 comments on commit ea06a3a

Please sign in to comment.