Update amalgamate.py

This commit is contained in:
blueloveTH 2025-03-01 17:02:44 +08:00
parent 05764225d7
commit 34e9595ec6

View File

@ -149,7 +149,7 @@ write_file('amalgamated/pocketpy.h', merge_h_files())
shutil.copy("src2/main.c", "amalgamated/main.c")
if sys.platform in ['linux', 'darwin']:
ok = os.system("clang -o main amalgamated/pocketpy.c amalgamated/main.c -O1 --std=c11 -lm -ldl")
ok = os.system("gcc -o main amalgamated/pocketpy.c amalgamated/main.c -O1 --std=c11 -lm -ldl")
if ok == 0:
print("Test build success!")