Force the way binary resources are generated

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-10-18 04:11:05 +01:00
parent 2a0d263666
commit 28f2c26872
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
4 changed files with 34 additions and 8 deletions

View file

@ -32,10 +32,6 @@ def res2c(filename):
print("const unsigned int %s_len = %d;\n" % (resname, fhandle.tell()))
if sys.platform != "darwin":
print("const unsigned char* _binary_%s_start = %s;\n" % (resname, resname))
print("const unsigned char* _binary_%s_end = %s + %d;\n" % (resname, resname, fhandle.tell()))
# -----------------------------------------------------
if __name__ == '__main__':