From 841ea3590582393533934a97ae5bbee8c879f965 Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 13 Dec 2024 18:43:46 +0800 Subject: [PATCH] Fixed implementation of VariableDeclarationExpression::loadNativeFunction() for Windows target. --- build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index a7632ba..a2f8e6d 100644 --- a/build.py +++ b/build.py @@ -232,7 +232,8 @@ def include_sha_headers(): lib_build_args = [ 'g++', '-static', '-static-libgcc', '-Iinclude', '-Istd', '-shared', '-o', OUTPUT_LIBRARY + '.dll', - '-L' + os.path.join(TEMP_DIR, 'glfw-3.4', 'lib-mingw-w64') + '-L' + os.path.join(TEMP_DIR, 'glfw-3.4', 'lib-mingw-w64'), + '-lole32' ] + ext_instructions + lib_headers + lib_source_files + cpp_files + cc_files print("Executing:")