diff --git a/build.py b/build.py index 838329c..a7632ba 100644 --- a/build.py +++ b/build.py @@ -215,10 +215,19 @@ def include_sha_headers(): include_sha_headers() glfw_lib_path = os.path.join(TEMP_DIR, 'glfw-3.4', 'lib-mingw-w64') + shutil.copy( + os.path.join(glfw_lib_path, 'glfw3.dll'), + os.path.join( + 'dist', 'n8lang', + 'modules', 'core@1.0.0', + 'lib', 'glfw3.dll' + ) + ) + lib_source_files += [ os.path.join(glfw_lib_path, 'libglfw3.a'), - # os.path.join(glfw_lib_path, 'libglfw3dll.a'), - # os.path.join(glfw_lib_path, 'glfw3.dll') + os.path.join(glfw_lib_path, 'libglfw3dll.a'), + os.path.join(glfw_lib_path, 'glfw3.dll') ] lib_build_args = [ 'g++', '-static', '-static-libgcc', '-Iinclude',