Hopefully fix cross compilation
Some checks failed
Build / download-system-deps (push) Successful in 45s
Build / build-gentoo (push) Successful in 2m16s
Build / get-source-code (push) Successful in 1m58s
Build / build-appimage (push) Successful in 29s
Build / build-android (push) Failing after 3m46s
Build / build-windows (push) Has been cancelled
Some checks failed
Build / download-system-deps (push) Successful in 45s
Build / build-gentoo (push) Successful in 2m16s
Build / get-source-code (push) Successful in 1m58s
Build / build-appimage (push) Successful in 29s
Build / build-android (push) Failing after 3m46s
Build / build-windows (push) Has been cancelled
This commit is contained in:
parent
1f8c7e46bb
commit
a88d09ed0b
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def add_license(input: str, output: str):
|
||||||
add_basic(input, LICENSE)
|
add_basic(input, LICENSE)
|
||||||
def compile_program(file: str, output: str):
|
def compile_program(file: str, output: str):
|
||||||
print("Compiling file '%s' to '%s'" % (path.abspath(file), path.abspath(output)))
|
print("Compiling file '%s' to '%s'" % (path.abspath(file), path.abspath(output)))
|
||||||
subprocess.call([os.environ.get("CXX", "c++"), file, "-o", output])
|
subprocess.call(["c++", file, "-o", output])
|
||||||
def add_css(file: str, output: str):
|
def add_css(file: str, output: str):
|
||||||
CSS_FILE = output + ".h"
|
CSS_FILE = output + ".h"
|
||||||
print("Adding CSS file '%s' (C identifier '%s') from file '%s'" % (file, output, CSS_FILE))
|
print("Adding CSS file '%s' (C identifier '%s') from file '%s'" % (file, output, CSS_FILE))
|
||||||
|
|
Loading…
Reference in a new issue