🐐 Web server
This commit is contained in:
4
cent
4
cent
@@ -61,7 +61,7 @@ def main():
|
||||
with open(tmp_path, "w") as f:
|
||||
f.write(c_source)
|
||||
subprocess.run(
|
||||
["gcc", "-O2", tmp_path, runtime_c, "-o", out_path],
|
||||
["gcc", "-O2", tmp_path, runtime_c, "-o", out_path, "-lcurl", "-lmicrohttpd"],
|
||||
check=True,
|
||||
)
|
||||
else:
|
||||
@@ -70,7 +70,7 @@ def main():
|
||||
tmp_path = tmp.name
|
||||
try:
|
||||
subprocess.run(
|
||||
["gcc", "-O2", tmp_path, runtime_c, "-o", out_path],
|
||||
["gcc", "-O2", tmp_path, runtime_c, "-o", out_path, "-lcurl", "-lmicrohttpd"],
|
||||
check=True,
|
||||
)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user