From 70f7efc588fe8b17a46e0220c5a3f46152d75256 Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 13 Dec 2024 18:52:13 +0800 Subject: [PATCH] Fixed implementation of VariableDeclarationExpression::loadNativeFunction() for Windows target. --- build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index a2f8e6d..0f4630d 100644 --- a/build.py +++ b/build.py @@ -232,9 +232,9 @@ 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'), - '-lole32' - ] + ext_instructions + lib_headers + lib_source_files + cpp_files + cc_files + '-L' + os.path.join(TEMP_DIR, 'glfw-3.4', 'lib-mingw-w64') + ] + ext_instructions + lib_headers + lib_source_files + + cpp_files + cc_files + ['-lole32'] print("Executing:") print(' '.join(exe_build_args))